This repository contains a simple project for the final paper assigned by the TDD workshop on the FH-Campus Vienna.
A simple project containing one user story with at least two test cases, implemented through the TDD approach.
Important metrics that have to be measured are the code coverage, and the mutation test coverage of the code.
As a user I want to save a note in a journal.
For the project the use of multiple tools are required:
- Maven
- JUnit 5
- Jacoco
- Pitest
- SonarCloud
- SonarQube
- Jenkins
sudo sysctl -w vm.max_map_count=524288
sudo sysctl -w fs.file-max=131072
ulimit -n 131072
ulimit -u 8192
docker-compose up
http://sonarqube:9000/
ngrok http 8080
http://*****.ngrok.io/github-webhook/
mvn clean test
mvn javadoc:javadoc
mvn javadoc:test-javadoc
mvn test jacoco:report
mvn test jacoco:check
mvn org.pitest:pitest-maven:mutationCoverage
mvn org.pitest:pitest-maven:mutationCoverage -DwithHistory
mvn clean test jacoco:report org.pitest:pitest-maven:mutationCoverage -DhistoryInputFile=target/fasterPitMutationTesting-history.txt -DhistoryOutputFile=target/fasterPitMutationTesting-history.txt -Dsonar.pitest.mode=reuseReport -Dthreads=4 -DtimestampedReports=false