Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Distributed code coverage #10

Open
delsner opened this issue Jun 7, 2022 · 0 comments
Open

[Feature] Distributed code coverage #10

delsner opened this issue Jun 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@delsner
Copy link
Contributor

delsner commented Jun 7, 2022

For future use cases in distributed systems, JTeC should support collecting distributed coverage using OpenTelemetry.

The extension point is in jtec-core in the class edu.tum.sse.jtec.instrumentation.coverage.CoverageInstrumentation:

    private AgentBuilder.Transformer getCoverageTransformer() {
        // TODO: We can extend JTeC here in the future, e.g., to support distributed coverage,
        //  by simply creating a transformer with different parameters here.
        return CoverageTransformer.create(coverageLevel);
    }

    private CoverageProbeFactory createCoverageProbeFactory() {
        // TODO: We can extend JTeC here in the future, e.g., to support distributed coverage,
        //  by simply adding new coverage probe factories.
        return new ProcessCoverageProbeFactory();
    }
@delsner delsner added the enhancement New feature or request label Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant