/
Component test
Component test
Acceptance test of a modules functionality.
This is a test of the full module (as opposed to Unit test).
Pure component test
A pure test of the standalone module, so any integrations to external components are mocked, including infrastructure (database, messagebus, http ).
Bitrepository Component test
To avoid duplicating test functionality on the different test levels, we have chosen to skip the pure component test level. Instead we include the message bus in the test and use the protocol module so we can work with the Java class abstractions of messages. This means we are actually running the component test as an Integration tests.
Code
The code for testing the stand alone module will be placed in individual modules under
/src/test/java/org/bitrepository/${modulename}/componenttest