Forum Discussion

JVo's avatar
JVo
New Contributor
11 years ago

MSTest unit test integration with TestComplete

I'm currently using TestComplete 10.40 and would like to integrate MSTest unit tests, developed in MS VS2012, into TestComplete.



I followed the instructions (http://support.smartbear.com/viewarticle/62729/) but they don't seem to work.  How do we import these MSTest unit tests into TestComplete and run them successfully?

  • JVo's avatar
    JVo
    New Contributor
    SmartBear customer care team was really helpful in looking into this issue for me.  It turned out that TestComplete doesn't allow selection of individual unit test in the MSTest assembly file to run.  In other words, we have to run all the tests in the MSTest assembly file.  However, I converted these unit tests to NUnit test framework and was able to select individual test case to run.
  • JVo's avatar
    JVo
    New Contributor
    Thank you for your help, Alex.  I was able to follow the instructions to add Microsoft Visual Studio 2012 Integration item for TestComplete and successfully ran MSTest unit tests.  But it's currently running all unit tests in the MSTest assembly file.  Is it possible to just select individual unit test in the assembly file to run?



    Regards

    ~Jonathan
  • JVo's avatar
    JVo
    New Contributor
    I'd really appreciate it if someone could help me in setting up TestComplete to run a specific unit test from a unit test assembly file.



    Thanks