0

I have a suite of mspec test cases that has the [Tags] attribute defined for each. I now have to create a test runner in .Net/C# that takes the tags attribute values(an array of strings) as input and runs the corresponding tests. I would like to know how I can go about doing this - just some pointers to get started.

I don't have any control over the test scripts, so cannot modify them. Also, I cannot use any third party test runners.

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
CMS
  • 133
  • 1
  • 1
  • 7

1 Answers1

1

Just use the bundled runner (mspec.exe) and pass the --include or --exclude parameter with a list of tags to include in the run or exclude from the run.

Alexander Groß
  • 10,200
  • 1
  • 30
  • 33