문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top