Skip to content

maven archetype for creating a project that has junit5 support

License

Notifications You must be signed in to change notification settings

franz-see/junit5-archetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

junit5-archetype

maven archetype for creating a project that has junit5 support

To use this, run the following command:

$ mvn archetype:generate \
    -DremoteRepositories=https://bintray.com/franz-see/maven-repo \
    -DarchetypeGroupId=ph.net.see \
    -DarchetypeArtifactId=junit5-archetype \
    -DgroupId=ph.net.see \
    -DartifactId=sonartrade-exercise \
    -Dversion=1.0-SNAPSHOT

This will create a maven project from scratch that is configured for JDK8, and JUnit5. In its test directory, it will also contain several feature showcase for JUnit5:

  • Assertions
  • Assumptions
  • @Disabled
  • @DisplayName
  • Dynamic Tests
  • Parameterized Tests
  • Repeated Tests
  • @BeforeAll, @BeforeEach, @AfterEach, @AfterAll
  • TestInfo
  • Tests Tagging
  • Nested tests
  • Test Lifecycle
  • etc

About

maven archetype for creating a project that has junit5 support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages