-
Notifications
You must be signed in to change notification settings - Fork 19
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 ability to run tests in sequential order #128
Comments
Hey @billychow68 you are correct in that --dir does execute test against files in sequential order. Would you be looking for something similar to what is described in issue #96? |
Hi @dylanhitt. I believe a new depends property would do the job as long as I could chain together 2 or more tests. Would that be possible? |
Hey @dylanhitt and @billychow68 :) At the moment the tests are executed sequentially. The A simpler solution would be to sort the tests alphabetically, then you can define tests with numbers as prefixes like Any thoughts on this? |
@SimonBaeumer I agree that depends on isn't the best implementation as we are depending on the user a little too much. I do like the idea of prefixing with numbers. Two questions:
it should print hello world:
order: 1
command: echo hello world
stdout: hello world
exit-code: 0
it should validate exit code:
order: 2
command: exit 1
exit-code: 1
another test:
order: 2
command: exit 1
exit-code: 1 This is all mainly cosmetic and I'm not attached to either. |
I like this approach as it's natural to include the prefix (like a test case ID) along with the title of the test case. Also would --concurrency affect how tests will run sequentially or would it need to be set to say a value of 1? Or no affect whatsoever? |
@dylanhitt @billychow68 We can discuss a |
@SimonBaeumer you got it. I believe I have enough on my plate. |
Tests are now executed in alphabetical order, will be released in |
While running the tests in parallel speeds up the execution overall, there are times when executing tests in sequential order is needed. Currently, I'm managing this in a shell script calling "Commader YAML TEST" individually.
I could be wrong but I believe I read somewhere that the --dir will run the test files (YAML) in sequential order? This request is specifically for running the tests sequentially within the YAML.
The text was updated successfully, but these errors were encountered: