7 Matching Annotations
  1. Jun 2021
    1. These kind of tests ensure that individual parts of the application work well together, without the overhead of the actual app environment (i.e. the browser). These tests should assert at the request/response level: status code, headers, body. They’re useful to test permissions, redirections, what view is rendered etc.
  2. Mar 2021
    1. Integration tests for controllers: These Smoke tests only test the wiring between controller, operation and presentation layer.
  3. Jul 2020
  4. Nov 2019
    1. These four things lead to a near total loss in the intended utility of integrated/functional tests: as the code changes make sure nothing is broken.
    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).
    1. For instance, an integration test could verify that all necessary props are passed through from the tested component to a specific child component.