VS2012 Test Traits

4 posts, 0 answers
  1. Robert Schoen
    Robert Schoen avatar
    17 posts
    Member since:
    Sep 2008

    Posted 30 Jan 2013 Link to this post

        Visual Studio 2012 has changed the way tests are managed.   It no longer has a Test List that can be configured.   Instead it has a test explorer.   The only way I can figure out how to organize tests in the Test Explorer is to assign traits to tests.   Can this be done with Test Studio Express?   I have searched the forums and documentation for "trait" but I was not able to find any results.   These traits can be important if you are running tests as steps and need to filter them out of the tests that you intend to run.


    Thank you.
    Robert R. Schoen
  2. Byron
    Admin
    Byron avatar
    184 posts

    Posted 04 Feb 2013 Link to this post

    Hi Robert,

    You may know that the recent Visual Studio Update 2 re-introduces test list functionality in Test Explorer. Traits can be added to coded unit tests by adding a string to the code. Both traits and the Test Explorer playlists require a Test Studio test to first appear in the Test Explorer. If a test does not appear once you open the project containing that test, you may need to restart Visual Studio 2012. Please let me know if this resolves your issue.

    All the best,
    Byron
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Robert Schoen
    Robert Schoen avatar
    17 posts
    Member since:
    Sep 2008

    Posted 04 Feb 2013 Link to this post

    When update 2 is released this will solve a huge problem.

    As for the trait issue, yes adding traits to coded tests is fairly strait forward.   However I still do not see how to add traits to telerik recorded tests.   The only way I see to do it at the moment is to convert the test to code then add the trait.    It would be helpful if a trait could be added to a recorded test.
  4. Byron
    Admin
    Byron avatar
    184 posts

    Posted 06 Feb 2013 Link to this post

    Hello Robert,

    There is an active feature request for this feature, which you can vote for in our Feedback Portal, increasing its priority in our development roadmap. Thanks for your input, which we rely upon to improve our product.

    Greetings,
    Byron
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!