locked
MSTest Executes unit Tests in Parallel in VS 12? RRS feed

Answers

  • Hi,

    Please make sure that you added a .testsettings file to the unit test solution, configure the  parallelTestCount attribute

    and apply it to the solution through Test->Test Settings->Select Test Settings.

    Best regards,


    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.

    • Marked as answer by omer avni Monday, May 26, 2014 3:53 PM
    Wednesday, May 21, 2014 2:29 AM
  • Same for VS 2013 (version 12)

    TejasJ.

    • Proposed as answer by Amanda Zhu Monday, May 19, 2014 1:50 AM
    • Marked as answer by Amanda Zhu Friday, May 23, 2014 5:17 AM
    Friday, May 16, 2014 4:49 AM

All replies

  • I tried according to this blog: Executing Unit Tests in parallel on a multi-CPU/core machine in VS2012 and its executing in parallel.


    TejasJ.

    Thursday, May 15, 2014 1:42 PM
  • i ask about VS 2013 (version 12)
    Thursday, May 15, 2014 2:02 PM
  • Same for VS 2013 (version 12)

    TejasJ.

    • Proposed as answer by Amanda Zhu Monday, May 19, 2014 1:50 AM
    • Marked as answer by Amanda Zhu Friday, May 23, 2014 5:17 AM
    Friday, May 16, 2014 4:49 AM
  • Hi Omer,

    You can accomplish it based on that blog provided by TejasJ in VS2013.

    Best regards,


    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.

    • Proposed as answer by Amanda Zhu Monday, May 19, 2014 1:50 AM
    Friday, May 16, 2014 5:11 AM
  • Hi,

    The comments in the link TejasJ wrote complain about running tests in parrallel doesn't work with vs 2012 and there is also the answer from this stackoverflow thread:

    http://stackoverflow.com/questions/12674606/can-visual-studio-2012-run-unit-tests-in-parallel

    Can you please tell me what I am missing?

    Thanks,

    Zur


    Zur

    Tuesday, May 20, 2014 10:18 AM
  • I was able to run tests in parallel in both 2012 and 2013.

    What problem are you facing when trying to execute in parallel?


    TejasJ.

    • Edited by TejasJ Tuesday, May 20, 2014 10:37 AM adding image
    Tuesday, May 20, 2014 10:27 AM
  • Hi,

    Please make sure that you added a .testsettings file to the unit test solution, configure the  parallelTestCount attribute

    and apply it to the solution through Test->Test Settings->Select Test Settings.

    Best regards,


    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.

    • Marked as answer by omer avni Monday, May 26, 2014 3:53 PM
    Wednesday, May 21, 2014 2:29 AM