Skip to content

RSpec::Parameterized syntax for CI pipeline build seed specs

What does this MR do?

I refactored the specs for Ci::Pipeline::Seed::Build to use RSpec::Parameterized syntax and be more exhaustive. We now test all possible keyword pairs, matching and non-matching, and additionally test the scenario where the pairs are found in both only: and except: blocks for the same job.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

This increases coverage of job inclusion behavior without degrading performance. We're currently running 47 examples in 9.3s, this brings us to 131 examples in 15.93s (locally).

Edited by Kamil Trzciński

Merge request reports