Have mstest output my log file at a desired location
-
martedì 6 marzo 2012 21:57
I have test that runs in mstest, everything works fine and it gives me a log file. But the log file is outputted in the TestResults folder in the project. Is there a config setting I can change in mstest, which upon changing lets me output the log file to a location I desire.
If their is please advise me how to go about doing it.
Thanks in advance
drm1981
- Modificato drm1981 martedì 6 marzo 2012 21:58 added a word
Tutte le risposte
-
mercoledì 7 marzo 2012 04:34Moderatore
You can use /resultsfile switch to specify the location where you want the result file to be saved.
For more about MSTEST switches refer http://msdn.microsoft.com/en-us/library/ms182489(v=vs.80).aspx -
- Proposto come risposta Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator mercoledì 7 marzo 2012 08:44
-
giovedì 8 marzo 2012 06:18
Bhuvaneshwari - thank you for your answer but i was still looking for something which would make me use the visual studio Ide.
drm1981
- Modificato drm1981 giovedì 8 marzo 2012 06:19
-
giovedì 8 marzo 2012 06:42Moderatore
Hi drm1981,
Glad to receive your reply.
If you just want to use the Visual Studio to change the location of the tests results, we can use another option in the Test Results toolbar “Export Test Run Results”. For detailed information, see http://social.msdn.microsoft.com/Forums/en/vstswebtest/thread/c5a1d7fe-ec31-48dd-ae87-26b922ed9baa.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Contrassegnato come risposta drm1981 venerdì 9 marzo 2012 00:40

