NUnit Sequential Attribute mit Arrays in Values

Wie ich weitergeben kannstring[][] Arrays zu ValuesAttribute?

Ich habe:

public string[][] Array1 = new[] {new[] {"test1", "test2"}};
//...
[Test, Sequential]
public void SomeTest(
    [Values("val1", "val2", "val3")] string param1, 
    [Values(Array1, Array2, Array3)] string[][] param2) { //... }

Und ich habeCannot access non-static field "Array1" in static context. Dann markiere ichArray1 mitstatic Stichwort und dann habe ichAn attribute argument must be a constant expression... als ich es mit markierereadonly Stichwort und noch habe ichAn attribute argument must be a constant expression...

Gibt es hier eine Möglichkeit, mehrere Arrays zu übergeben? (Außer hässlichstring[][][] und vorbeiparam2 Indizes relevanterarray[][] imarray[][][])

Antworten auf die Frage(1)

Ihre Antwort auf die Frage