Skip to content

Commit e2395b0

Browse files
committed
chore: update readme
1 parent 947f6b6 commit e2395b0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ This tool generates unit tests to increase both line and mutation coverage, insp
111111
- Generates tests that detect and kill code mutants, ensuring robustness.
112112
113113
```bash
114+
## go to examples/java_maven
115+
## remove some tests from BankAccountTest.java
116+
117+
mutahunter gen --test-command "mvn clean test" --code-coverage-report-path "target/site/jacoco/jacoco.xml" --test-file-path "src/test/java/BankAccountTest.java" --source-file-path "src/main/java/com/example/BankAccount.java" --coverage-type jacoco --model "gpt-4o"
118+
114119
Line coverage increased from 47.00% to 100.00%
115120
Mutation coverage increased from 92.86% to 92.86%
116121
```

0 commit comments

Comments
 (0)