An open, extensive, JSON Schema-specified format of software source code coverage information.
- JSON as the underlying format
- JSON Schema that fully specifies and describes the format
- Programming language and tool-agnostic format
- Support for branch coverage information
- No need of access to source code to render a nice-looking coverage report
The schema is in abstract-coverage-schema.json. This is the main artifact of this project. It is validated agaist the metaschema on Travis on every push.
Examples are in examples directory. They are validated against this schema.
- Add your own implementation here via a pull request
In the order of frequency of encounters in my research:
Pros:
- XML Schema
- The only coverage format I know of that has an openly available schema. Wow!
Cons:
- XML (what year is it?)
- Overly verbose element names (
linesToCover
) - Poor branch coverage info
Pros:
- Seems to be widely supported
Cons:
- Doesn't have an easily discoverable schema or even an example
Pros:
- Widely supported
Cons:
- Doesn't have an easily discoverable schema or even an example
Pros:
- Compact
Cons:
- Too compact
Pros:
- Seems to be widely supported
Cons:
- Doesn't have an easily discoverable schema or even an example
- Help OpenCov support this format
- Write an opencov client gem to replace coveralls (which is just not cool to piggyback on)
- Write a renderer to a standalone nice-looking project coverage report
- Port Makefile to Windows