Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Integration tests use the same structure as Unit tests, inheriting from the same file (AbstractUnitTest) and using . A class has been created, called AbstractIntegrationTest, that inherits from AbstractUnitTest. This provides the integration tests with the same temporal filesystem and in-memory database as the unit tests. The class AbstractIntegrationTest is created just in case we may need some extra escafolding for these tests. All integration tests should inherit from it to both distinguish themselves from unit tests and in case we require specific changes for them.

The main difference between these and the unit tests is in the test implemented, not in the infrastructure required, as these tests will use several classes at once to emulate a user action.

...