Hi Team,
Similar to pom.xml, How should I run the select test scripts in a CI/CD? ie. out of 100 test scripts, I need to run only 10 scripts. How can this scenario be done?
Thanks,
Hari
Hi Team,
Similar to pom.xml, How should I run the select test scripts in a CI/CD? ie. out of 100 test scripts, I need to run only 10 scripts. How can this scenario be done?
Thanks,
Hari
I think it would be useful to have the concept of ‘Test Suites’ in k6, especially as k6 describes itself as ‘unit testing for performance’.
For example, I would like to run a series of performance tests tonight, one after each other, but I have to either script this in bash or create a pipeline.
It would be much easier to be able to ask k6 to run all the scripts in a particular folder, or all the scripts that have been tagged as a particular ‘suite’ of tests (I’m not sure how you would ‘tag’ the default function though :).
Would it be possible to add this functionality into the roadmap?
Thanks for this topic! I had some ideas how we can implement test suites, and created a new github issue to discuss them: Test suites / execute multiple scripts with k6 · Issue #1342 · grafana/k6 · GitHub
The good news is that, barring any big issues that I’ve overlooked, implementing something like this wouldn’t be very complicated once #1007 is done, and #1007 is our current top priority. So, I’m not giving any promises for specific release dates, but I think it’s safe to say it’s on the roadmap.