Skip to content

Data-flow coverage information per test #38

Answered by andrioli
Alex-128 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Alexandra,

Unfortunately, BA-DUA does not support per-test coverage out-of-box. We want BA-DUA to be an agnostic tool, depending only on Java runtime.

To achieve this level of coverage granularity you need to implement some control based on the testing framework (Probably JUnit).

Fortunately, BA-DUA provides a runtime API that allows you to reset, dump and access the binary coverage data. You can access this API through BaDuaRuntime class.

Our study group already implemented a tool called Jaguar that implements SFL of control-flow coverage and data-flow coverage for JUnit tests. Jaguar is based on a patched version of JaCoCo that also integrates BA-DUA on its code. But some drawbacks: …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alex-128
Comment options

Answer selected by Alex-128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants