Skip to content

A „Hello World!” sample written in Java that showcases very simple unit and integration tests.

License

Notifications You must be signed in to change notification settings

EG-A-S/workshops_unit_tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Java/Maven/JUnit HelloWorld example

A „Hello World!” sample written in Java using Maven for the build, that showcases a few very simple tests.

This example demonstrates:

  • A simple calculator application with tests
  • Unit tests written with JUnit 5
  • A Maven build that puts it all together

Running the tests

  • To run the unit tests, call mvn test

Conventions

This example follows the following basic conventions:

unit test integration test
resides in: src/test/java/*Test.java src/test/java/*IT.java
executes in Maven phase: test verify
handled by Maven plugin: surefire failsafe

About

A „Hello World!” sample written in Java that showcases very simple unit and integration tests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%