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

Add decorators to control ordering #45

Open
ewencp opened this issue Apr 30, 2015 · 0 comments
Open

Add decorators to control ordering #45

ewencp opened this issue Apr 30, 2015 · 0 comments

Comments

@ewencp
Copy link
Contributor

ewencp commented Apr 30, 2015

For some tests it's useful to specify ordering -- it makes more sense to validate simple operations before more complex ones. It would be useful to have 2 types of annotations:

  1. Specify dependencies which the test runner respects, i.e. @dependency(EverythingRunsTest) to annotate more complicated tests. This can also speed up failing test runs by immediately failing all dependent tests (or report them as SKIPPED).
  2. Indicate a levels of testing, e.g. @smoke vs. @exhaustive. We'd need to think about the levels (or make them generic as @testlevel(1)) but the idea is that we could easily run a smaller set of tests that still give good coverage, but finish much faster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant