ovh / venom

🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions
Apache License 2.0
1.06k stars 144 forks source link

FEATURE REQUEST: Skip specific `.yml` or `.yaml` files on blanket `venom run` #740

Closed polyphilz closed 1 year ago

polyphilz commented 1 year ago

I like to run venom run from the root dir of my project, but have a whole bunch of other .yml and .yaml files in there that aren't Venom tests. They still end up in my log output dir though.

Is there existing functionality to ignore these non-Venom test YAML files? If not, would be a great feature - TIA!

marcaudefroy commented 1 year ago

Hello!

On our side, we name our venom tests by myTest.venom.yml And launch CI with venom run suite=**/*.venom.yml

fokion commented 1 year ago

you can specify a file pattern for example test_.*.yml

polyphilz commented 1 year ago

Thanks both, do you know if it's the case that Venom runs all individual .*.venom.yml files in parallel if I use the above method? Or is it one after the other?

fokion commented 1 year ago

it is sequential at the moment see https://github.com/ovh/venom#run-test-suites-in-a-specific-order and https://github.com/ovh/venom#globstar-support

polyphilz commented 1 year ago

Thanks!