File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 11java-maven-junit-helloworld
22===========================
33
4- A „Hello World!” sample written in Java that showcases very simple unit and integration tests.
4+ A „Hello World!” sample written in Java using Maven for the build, that showcases a few very simple tests.
5+
6+ This example demonstrates:
7+
8+ * Unit tests written with [ JUnit 4] ( http://junit.org/ )
9+ * Integration tests written with [ JUnit 4] ( http://junit.org/ )
10+ * Using [ system-rules] ( http://www.stefan-birkner.de/system-rules/ ) to test ` System.out ` and ` System.exit() `
11+ * Code coverage reports via [ Cobertura] ( http://cobertura.github.io/cobertura/ )
12+ * A Maven build that puts it all together
13+
14+ Running the tests
15+ -----------------
516
617* To run the unit tests, call ` mvn test `
718* To run the integration tests as well, call ` mvn verify `
819
20+ Conventions
21+ -----------
22+
923This example follows the following basic conventions:
1024
1125 | unit tests | integration tests
You can’t perform that action at this time.
0 commit comments