Closed andrii-kovalenko-ct closed 6 years ago
And also good work on reducing number of runners!
@butenkor
And also good work on reducing number of runners!
Are you talking about SpringRunner
? If so - it is an alias to SpringJUnit4ClassRunner
, it is just shorter
@andrii-kovalenko-ct can you please also update this section in the README as it seems it's quite outdated after the directory structure changes of the tests: https://github.com/commercetools/commercetools-paypal-plus-integration/tree/104-separate-integration-test#integration-tests
@heshamMassoud
can you please also update this section in the README as it seems it's quite outdated after the directory structure changes of the tests:
The documentation is temporary separated, so updated in dedicated branch: https://github.com/commercetools/commercetools-paypal-plus-integration/commit/18e30afba50569f308d46f3bf2c6886f4658d367
closes #104
Addressing issue #104 (partially): Re-factor unit/integration tests run. Many files changed because most of them just renamed (moved to another directory).
Real changes:
gradle
test configuration
and respectiveintellij-idea
module configadded unit and integration tests short documentation
in payment mapper tests inject specific test classes, instead of entire context. This makes test more unit, e.g. independent from
adjust all integration tests to follow name pattern
*IT.java
(was mixed with*IntegrationTest.java
)adjust Spring tests runner names to use
SpringRunner
only (was mixed withSpringJUnit4ClassRunner
)The rest changes are minor renaming