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

Support use case when test cases are not located in test bench top level. #121

Closed
kraigher opened this issue Feb 10, 2016 · 0 comments
Closed

Comments

@kraigher
Copy link
Collaborator

In VUnit it is preferred to always let the test bench contain the test cases on the top level and have it instantiate any fixtures rather than the other way around. We believe all test bench / test fixture pairs can be structured in this way without any negative effects.

However there might be many legacy test benches / fixture pairs structured in the opposite way.
To accommodate these legacy structures we will add a test_bench.scan_tests_from(file_name) method to the Python-API.

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