-
Notifications
You must be signed in to change notification settings - Fork 8
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
Specify test on command line #12
Comments
I spent some time looking at how to implement this. Essentially, you have to change the way that JPM works and I'm not sure if doing that would be welcomed. You'd ideally want something generalisable and not just for Testament and I'm not sure what that would look like. In terms of a crude solution, you can do the following:
This now allows you to write Even with this, you can't do something like Given the above, I'm not sure what to do. Having this functionality would definitely be nice but without adding a sophisticated argument parsing library on top of JPM, I'm not sure if there's a way to get it. Any thoughts? |
OK, so I went and made an alternative project manager, Jeep, and I basically implemented what I suggested above. Jeep is in many ways an alternative front-end to JPM but set up to work the way that I would like a Janet project manager to work. One of the things I did was make it so that you can write: $ jeep test test-1 test-2 test-3 and Jeep will execute each Janet file in |
eg:
runs only that test.
The text was updated successfully, but these errors were encountered: