-
Notifications
You must be signed in to change notification settings - Fork 10
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 command line option to run only one test/testsuite #95
Comments
Hi Daniel, Thanks for reporting that, I agree it would be good to simplify that indeed somehow. However, there are a few things to consider:
Actually
I'm now working around the thing by having an bash file with aliases, which specifies all the common args via command line, and reads the input classpath/path from to specify the proper classpath to include for testing: https://github.com/jakub-g/dotfiles/blob/master/ariatemplates.profile#L22-31
This is a bit more powerful since apart from classpaths, it accepts a disk path (and transforms it accordingly) so you can take advantage of the standard bash filename autocompletion on pressing TAB key. However it needs an installation in bash prompt, and basically duplication of settings in the alias. What we could do to is to make it possible to accept both
Currently, you can pass both the config file name and
then you'll end up with 607 tests from YAML + additionally one test passed via command line. So we could have a new switch that could read like that:
(or we can simply keep the --config.tests.aria-templates.includes and do not merge the ones passed from command line and ones included in the cfg file...) This could be quite ok though it looks ugly due to the long switch name, but to shorten it to @divdavem do you have some better suggestions? |
It would be great if a command line option could be added to tell attester to run only one test/testsuit instead of only being able to run the whole test suite.
Something like this:
attester -test mytest/test.js
attester -test mytest/testsuite.js
The text was updated successfully, but these errors were encountered: