-
Notifications
You must be signed in to change notification settings - Fork 136
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
bug (regression): venom run DIR_NAME
doesn't run anymore test suites in alphabetical order
#470
Comments
venom run DIR_NAME
doen't run anymore test suites in alphabetical ordervenom run DIR_NAME
doesn't run anymore test suites in alphabetical order
Hum, What is your use case? :) |
Hi @marcaudefroy, Current Output:
Expected:
So, if it is not the good way to do organize tests, please, what is it the good way to do it? |
(NB: tests have been made with v1.0.0 and v1.0.1 even if the branch is just with v1.0.0) |
Hello @marcaudefroy, We used same logic as CDS (https://github.com/ovh/cds/tree/a91511eea8ec7eec6fc27fa0c695dc7f3b9f4433/tests) when we started to write tests with Venom 0.27.0 Our use case is: we want to run several test suites in specific order. Having everything in one test suite (where order is respected) could be an approach but it think it's more hard to read what is doing test suite. Also before custom executor feature, it was more simple for us to create small test suites that can be reused by all our tests. |
Venom does not sort testsuite anymore, you have to sort them at run.
if you want to order the testsuite, you have to order them on the command line. |
Hello @yesnault, Thanks for clarification, we will adjust our codebase. |
@nqb release note updated on https://github.com/ovh/venom/releases/tag/v1.0.0, doc on #474 |
Hello,
On Venom 1.0.1, it looks like
venom run DIR_NAME
doesn't run anymore test suites in alphabetical order.It was the case on 1.0.0-rc-7.
According to our tests, it looks like behavior is different between distributions. We noticed that behavior on Debian 11 but we were not able to replicate on EL8.
Steps to reproduce
Files:
Venom run and results on
v1.0.0-rc.7
:Venom run and results on
v1.0.1
:Actual results
Venom v1.0.1 doesn't run test suites in alphabetical order when they are in a directory.
Expected results
Venom v1.0.1 should run test suites in alphabetical order when they are in a directory.
Additional context
Certainly related to #430
The text was updated successfully, but these errors were encountered: