Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claudioaltamura/java-junit5
junit5 examples
https://github.com/claudioaltamura/java-junit5
github-actions java java-junit testing
Last synced: 3 days ago
JSON representation
junit5 examples
- Host: GitHub
- URL: https://github.com/claudioaltamura/java-junit5
- Owner: claudioaltamura
- License: mit
- Created: 2018-04-09T07:13:57.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T06:53:14.000Z (over 1 year ago)
- Last Synced: 2024-11-11T09:43:43.013Z (2 months ago)
- Topics: github-actions, java, java-junit, testing
- Language: Java
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/claudioaltamura/java-junit5/build-gradle-project.yml?branch=main)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# java-junit5
### junit5 examples1. @BeforeEach, @AfterEach
2. @BeforeAll, @AfterAll
3. @Test, @DisplayName
4. @RepeatedTest
5. @ParameterizedTest
6. @Disabled
7. assertAll
8. assertThrows
9. assertTimeout
10. assumptions
11. @Tag
12. test life cycle
13. conditional test executionsee https://junit.org/junit5/docs/current/user-guide/
### Build
./gradlew clean build
### Running tests
./gradlew clean test
### Running tagged tests (example1)./gradlew test
### Running tagged tests (example2)./gradlew example2Test