This does not answer the name of the question, however it solves your specific problem.
You can use TestCaseSource , it allows you to pass multiple scripting scripts into the same testing mechanism, and you can use as complex structures as you like.
[Test] [TestCaseSource("TestCaseSourceData")] public void Test(String[] recordNumber, string testName) { //something.. } public IEnumerable<TestCaseData> TestCaseSourceData() { yield return new TestCaseData(new string[] {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10"}, "Checking10WOs"); }
It will be found out that the first parameter is recordNumber , and the second is testName
see screenshot below.

Hope this saves you some time.
source share