Documenting what I learn about Programming

Hopefully these make your life a little less painful

Advanced Combinatorial Testing in NUnit

If you’re reading this article, I’m going to assume you have a basic understanding of combinatorial and parameterising NUnit tests and now you are pushing up to the limits of this system. For reference, let’s examine a simple Combinatorial Test. [Test, Combinatorial] public void MyTest( [Values(1, 2, 3)] int x, [Values("A", "B")] string s) { // ... } As the parameters must be entered into an attribute, we are limited to constant values, ints, doubles, strings, enums etc. ...

October 17, 2024 · Callum Sykes