https://github.com/pfichtner/testtypes
https://github.com/pfichtner/testtypes
java jqwik junit junit5 mutation-testing pbt pitest property-based-testing tests
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pfichtner/testtypes
- Owner: pfichtner
- Created: 2021-09-13T17:05:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T04:17:16.000Z (11 months ago)
- Last Synced: 2025-03-17T05:25:12.510Z (11 months ago)
- Topics: java, jqwik, junit, junit5, mutation-testing, pbt, pitest, property-based-testing, tests
- Language: Java
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# testtypes
This is a Java showcase for different test types. Please note that it is based on a minimal example (FizzBuzz). Therefore, some parts are completely oversized for this little example: Nobody would seriously use property based or approval tests for such a manageable production code base. So the example tests can be kept simple and the important thing can be emphasized.
What's inside?
- unittest (JUnit5) (used to create the production code using TDD)
- parameterized tests (JUnit5)
- property based tests (using jqwik)
- approval tests (approvals) ("hand written" approval test as well as approval tests in combination with jqwik)
Missing mutation tests? It's also inside! Just run ```./mvn package org.pitest:pitest-maven:mutationCoverage```