locked
vstest RRS feed

  • Question

  • Hey guys.

    I am trying to vstest.console.exe from the command line. How do I pass multiple loggers to the tool?

    Thanks.


    The best things in life are free, but the most valuable ones are costly...use opportunities well for there are others, like you, who deserves them, but don't have them...

    Tuesday, July 21, 2015 7:45 PM

All replies

  • Hi talk2alie,

    >>How do I pass multiple loggers to the tool?

    Do you mean that you want to get multiple logger files(trx file) for tests?

    To log results into a Visual Studio Test Results File (TRX) we use /Logger:trx. For example,

    Vstest.console.exe abc.dll /logger:trx

    As far as I know, we just could get one trx file like the above way.

    Reference:

    https://msdn.microsoft.com/en-us/library/jj155796.aspx?f=255&MSPPError=-2147217396

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, July 22, 2015 12:48 PM
  • I don't think this answered the question.  I think the OP meant exactly what he said: how to you pass multiple loggers?  For example, a TRX logger and a Console logger and a TFS logger all at the same time.
    Tuesday, May 16, 2017 3:37 PM