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

Default test list #7

Open
sampsyo opened this issue Jul 11, 2019 · 0 comments
Open

Default test list #7

sampsyo opened this issue Jul 11, 2019 · 0 comments

Comments

@sampsyo
Copy link
Contributor

sampsyo commented Jul 11, 2019

It would be cool to be able to just run turnt with no arguments to run a pre-specified list of tests. I propose that turnt.toml gain a tests option, which can either be a string containing glob patterns:

tests = "*.t more/*.t"

Or a list of specific (non-glob) filenames:

tests = [
  "foo",
  "bar",
]

One complication to implementing this is that turnt.toml loading is currently per-test, i.e., each test gets its own configuration from wherever it happens to be located. This will require (also) loading a configuration from the working directory. We'll have to decide how to combine the two configurations—merge them, ignore one or the other, or something else.

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