Skip to content

Write number of examples to file with --count-examples-only

Sanad Liaquat requested to merge shl-write-no-of-examples-to-file into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This is a follow up of !77526 (merged)

Writes the number of examples to file if greater than zero in a folder named no_of_examples. The file name is composed of the last part of the scenario class and also includes --tag if provided.

This will be used for generating dynamic child pipelines in gitlab-qa!853 (closed)

Related to https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/564

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

bundle exec bin/qa Test::Integration::InstanceSAML http://dummy.test --count-examples-only

bundle exec bin/qa Test::Instance::All http://dummy.test --count-examples-only -- --tag actioncable

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

QA Quality featureenhancement

Edited by Sanad Liaquat

Merge request reports