Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aybabtme/couverture
Automagically improve your test coverage !!!
https://github.com/aybabtme/couverture
Last synced: about 1 month ago
JSON representation
Automagically improve your test coverage !!!
- Host: GitHub
- URL: https://github.com/aybabtme/couverture
- Owner: aybabtme
- License: mit
- Created: 2013-06-01T23:57:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-02T03:23:02.000Z (over 11 years ago)
- Last Synced: 2023-03-30T06:26:00.048Z (over 1 year ago)
- Language: Java
- Size: 3.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Couverture
Automagically improve the test coverage of your projects!## Status
It's not quite complete. The sample is not working.## Usage
It's trivial!```java
// Run this then look at the coverage report!
@Test
public void coverAllTheThings() {
String packageName = MyPojoWithCoverage.class.getPackage().getName();
try {
Couverture couverture = new Couverture(packageName);
couverture.bumpThatCoverage();
} catch (VictimlessPackageException e) {
// Oh noes!! That's not a package, or perhaps it's empty!
}
}
```And now, sit back and enjoy the improvement in code coverage!
##Sample
Look at the `sample` folder. Use Ant to build the sample and generate the Cobertura reports.```bash
ant ./sample/
```## Development
```bash
mvn clean compile assembly:single // to build the jar with its dependencies
```