It's all about the answers!

Ask a question

Unit Tests and class name


Jeff Foege (45266960) | asked Dec 16 '11, 4:39 p.m.
I'm trying to find the switch or setting that will allow me to change the "Default Test Settings" name to the name of the test I'm kicking off.

I'm using ant to kick off/run the builds & unit tests. The lines I'm using to kick off the unit test looks like this.

<exec>
<arg>"/testcontainer:${MSUnitTestsDir}\DataPublisher\bin\Release\DataPublisherUnitTest.dll"/
<arg>"/resultsfile:${TestOutputDir}\IPIDataPublisher_MSTests.trx"
</exec>

I see "Default Test Settings" in the result file. So I could possibly write a perl script to change that string. I'm not sure if something like that is easy to do in ant.


thanks!

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.