9 Matching Annotations
  1. Jun 2021
  2. Mar 2021
    1. Unit tests for operations: They test all edge cases in a nice, fast unit test environment without any HTTP involved.
  3. Jan 2020
    1. Yes; everything needed to run the tests are bundled inside the test suite or executable. There's no connections to foreign processes or systems. I.e, no talking to databases or reading files from disk. If necessary, these connection points are faked / mocked.

      Tests running in isolation don't depends on external systems to work.

  4. Nov 2019
    1. I should also add that I'm in favor of relying more heavily on integration testing. When you do this, you need to unit test fewer of your simple components and wind up only having to unit test edge cases for components (which can mock all they want).
  5. Oct 2019