Versions Compared

Key

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

...

  • Goals:
    • Running all the tests should be fast (it should be exceptional for a test to take more than five seconds).
    • Tests operate at the correct level. Specifically:
      • Simple logic bugs cause unit tests to fail.
      • Errors in collaboration logic cause integration tests to fail.
    • Most (if not all) of our integration tests should run in-process.
    • The official JMS 2 TCK tests will also be run against the client.
Integration tests

For each test, our main choice is which layer to designate as the boundary for our tests. Everything "below" this boundary will be replaced with a mock implementation ("mock" is defined in a broad sense - it does not assume a imply the use of a mocking framework).

...