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

Fail on unused dependencies in test package #136

Open
big-andy-coates opened this issue Oct 6, 2022 · 0 comments
Open

Fail on unused dependencies in test package #136

big-andy-coates opened this issue Oct 6, 2022 · 0 comments

Comments

@big-andy-coates
Copy link
Member

Currently, if there are unused input or expectation files in a a test package a warning is logged. Unused files can be an indication that a test is incorrect, i.e. referencing the wrong input/expectation. At the very least, it's noise that can mislead the next person in there.

We should therefore make the default to fail the test execution, i.e. fail hard / fail fast. Then add an option to switch this to 'log warning' if that's what the user wants.

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