Skip to content

Commit 2f3685f

Browse files
committed
hello
1 parent 9e489de commit 2f3685f

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

README.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1 @@
1-
# A Java/Maven/JUnit HelloWorld example
2-
3-
A „Hello World!” sample written in Java using Maven for the build, that showcases a few very simple tests.
4-
5-
This example demonstrates:
6-
7-
* A simple Java 8 application with tests
8-
* Unit tests written with [JUnit 5](https://junit.org/junit5/)
9-
* Integration tests written with [JUnit 5](https://junit.org/junit5/)
10-
* Code coverage reports via [JaCoCo](https://www.jacoco.org/jacoco/)
11-
* A Maven build that puts it all together
12-
13-
## Running the tests
14-
15-
* To run the unit tests, call `mvn test`
16-
* To run the integration tests as well, call `mvn verify`
17-
* Code coverage reports are generated when `mvn verify` (or a full `mvn clean install`) is called.
18-
Point a browser at the output in `target/site/jacoco-both/index.html` to see the report.
19-
20-
## Conventions
21-
22-
This example follows the following basic conventions:
23-
24-
| | unit test | integration test |
25-
| --- | --- | --- |
26-
| **resides in:** | `src/test/java/*Test.java` | `src/test/java/*IT.java` |
27-
| **executes in Maven phase:** | test | verify |
28-
| **handled by Maven plugin:** | [surefire](http://maven.apache.org/surefire/maven-surefire-plugin/) | [failsafe](http://maven.apache.org/surefire/maven-failsafe-plugin/) |
1+
hello bhau

0 commit comments

Comments
 (0)