diff --git a/integration-tests/README.md b/integration-tests/README.md index abeae63a0aa..261f5908430 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -34,14 +34,14 @@ Running Integration tests ## Running tests using mvn To run all the tests using mvn run the following command - -''''' +``` mvn verify -P integration-tests -''''' +``` To run only a single test using mvn run following command - -''''' +``` mvn verify -P integration-tests -Dit.test= -''''' +``` Writing a New Test @@ -66,9 +66,9 @@ A test can access different helper and utility classes provided by test-framewor To mark a test be able to use Guice Dependency Injection - Annotate the test class with the below annotation - ''''''' +``` @Guice(moduleFactory = DruidTestModuleFactory.class) - ''''''' +``` This will tell the test framework that the test class needs to be constructed using guice. ### Helper Classes provided