locked
i can not find Local.testsettings file in test project

    Question

  • i need to enable code coverage but i cannot find Local.testsettings file or testrunconfig.testconfig file. How to enable code coverage ? i am using vs 2010 beta
    Friday, February 05, 2010 6:51 AM

Answers

  • In Dev10 we changed the file name (it's still under solution items folder):
    VS2008: Local.TestRunConfig
    VS2010: Local.TestSettings

    You can also open test settins from main menu: Test->Edit Test Settings; Test->Set Active Test Settings

    If you can't find Test Settings in your solution, you can create a new one:
    - right-click on solution node in solution explorer
    - Add -> New Item...
    - Select Test Settings node on the left, select the item on the right
    - Click Add

    Thanks,
    Michael Koltachev
    Visual Studio Team Test
    Friday, February 05, 2010 6:48 PM

All replies

  • You should find it in the solution items folder (just beneath the solution)
    Ewald - Please remember to mark the replies as answers if they help.

    Ewald Hofman
    Blog: www.ewaldhofman.nl
    Friday, February 05, 2010 7:17 AM
  • In Dev10 we changed the file name (it's still under solution items folder):
    VS2008: Local.TestRunConfig
    VS2010: Local.TestSettings

    You can also open test settins from main menu: Test->Edit Test Settings; Test->Set Active Test Settings

    If you can't find Test Settings in your solution, you can create a new one:
    - right-click on solution node in solution explorer
    - Add -> New Item...
    - Select Test Settings node on the left, select the item on the right
    - Click Add

    Thanks,
    Michael Koltachev
    Visual Studio Team Test
    Friday, February 05, 2010 6:48 PM
  • Thank you...helped me get around this issue!!!
    Thursday, April 29, 2010 9:11 PM