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

Allow a test to claim to cover multiple constants/code-files #6

Open
nevinera opened this issue Jun 10, 2023 · 0 comments
Open

Allow a test to claim to cover multiple constants/code-files #6

nevinera opened this issue Jun 10, 2023 · 0 comments

Comments

@nevinera
Copy link
Owner

Right now, we assume that a given ExampleGroup only provides coverage for a single code file (which defines a single testable constant). That's... usually ideal, but not always the case - classes get reopened, and sometimes a single test file is responsible for providing coverage for multiple classes.

We can support that situation by separating the conception of the coverage-delta from the spec-context, so that a given ExampleGroup (Context) can claim to cover multiple constants and/or paths, and then we can check the effective coverage provided for each of them. Effectively, we need to abstract the "claim" out into an explicit thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant