How do I give each test its own TestResults folder?
Posted
by izb
on Stack Overflow
See other posts from Stack Overflow
or by izb
Published on 2010-04-09T18:06:06Z
Indexed on
2010/04/09
19:03 UTC
Read the original article
Hit count: 459
I have a set of unit tests, each with a bunch of methods, each of which produces output in the TestResults folder. At the moment, all the test files are jumbled up in this folder, but I'd like to bring some order to the chaos.
Ideally, I'd like to have a folder for each test method.
I know I can go round adding code to each test to make it produce output in a subfolder instead, but I was wondering if there was a way to control the output folder location with the Visual Studio unit test framework, perhaps using an initialization method on each test class so that any new tests added automatically get their own output folder without needing copy/pasted boilerplate code?
© Stack Overflow or respective owner