Unit and Integration tests
Can I run the tests before pushing the commits to master?? The answer is yes!!
- From the portal folder, type ant test-unit and all the unit tests will be executed.
- From the portal folder, type ant test-integration and all the integration tests will be executed.
- If you want to run a single test, go into the required folder (portal-service, portal-impl, util-java,...) and type ant test-class -Dclass="The name of the class (without qualifiers)"
2506 Visualizações