December 2015
Beginner
184 pages
3h 55m
English
You may manage an extremely small project that does not evolve a lot without unit tests. But, any large-scale project cannot exist without unit tests. Unit tests provide the first level of guarantee that you do not break any existing functionality with a newly introduced code change. In an ideal scenario, you should not commit any code to a source repository without building the complete project with unit tests.
Maven uses the surefire plugin to run tests and as a malpractice developers are used to skip the execution of unit tests by setting the maven.test.skip property to true, as follows:
$ mvn clean install –Dmaven.test.skip=true
This can lead to serious repercussions in the later stage of the project, and you ...
Read now
Unlock full access