Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gliptak/jallele
JAllele - Java mutation testing
https://github.com/gliptak/jallele
Last synced: 26 days ago
JSON representation
JAllele - Java mutation testing
- Host: GitHub
- URL: https://github.com/gliptak/jallele
- Owner: gliptak
- License: gpl-3.0
- Created: 2010-04-13T23:56:27.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:33:50.000Z (about 1 year ago)
- Last Synced: 2023-12-15T15:42:13.537Z (about 1 year ago)
- Language: Java
- Homepage: http://gliptak.github.io/JAllele/
- Size: 273 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JAllele
==========
[![ci](https://github.com/gliptak/JAllele/workflows/ci/badge.svg)](https://github.com/gliptak/JAllele/actions?query=branch%3Amaster)
[![GPL v3](https://img.shields.io/badge/license-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl.html)JAllele is a [mutation testing tool](https://en.wikipedia.org/wiki/Mutation_testing) for Java. By design, all
mutants generated are valid and it aspires to avoid equivalent mutants.Here is the origin for the project's name:
http://en.wikipedia.org/wiki/Allele
Status
--------Current status of the project is described in [bytecode mapping](bytecodes.html). Currently implemented bytecodes
display the corresponding handler.An initial run will determine a list of all possible mutations.
The actual mutation run will choose one of the previously identified
mutations to validate that the unit test bed detects that change.The "strength" of the test bed can be expressed as percentage of
the mutation runs failed over the number of mutations runs.Usage
--------Currently a command line access is made available.
The libraries have to be built, as they are not yet published to a Maven repository.
```
$ ./gradlew build
```
Run JUnit sample (packaged into uberjar):
```
$ java -Djdk.attach.allowAttachSelf=true -jar jallele-cmdline/build/libs/jallele-cmdline-test-*.jar --junit --count 10 \
--sources com.github.gliptak.jallele.SimpleClass --tests com.github.gliptak.jallele.SimpleClassJUnitTest
```Run TestNG sample (packaged into uberjar):
```
$ java -Djdk.attach.allowAttachSelf=true -jar jallele-cmdline/build/libs/jallele-cmdline-test-*.jar --testng --count 10 \
--sources com.github.gliptak.jallele.SimpleClass --tests com.github.gliptak.jallele.SimpleClassTestNGTest
```Contributions, issues, pull requests are welcome.
## Notes
https://asm.ow2.io/asm4-guide.pdf