Test auto-detect when opening project

4 posts, 0 answers
  1. Chris Johnson
    Chris Johnson avatar
    20 posts
    Member since:
    Jan 2010

    Posted 13 May 2010 Link to this post

    When opening a project that has test results from previous Visual Studio test runs, I am prompted:

    "The following test and data files have been detected in the current project folder and are not part of your Visual Studio Test Project. Would you like to import them?"

    Of course I don't, so I press Cancel. But the WebUI framework checks out the project file from source control anyway, so I have to undo that. It's a double annoyance, because you have both a prompt and unwanted checkout to deal with.

    I looked for a WebUI option to disable this prompt. I also looked for a Visual Studio option to change the Test Results location, so they wouldn't be placed below the solution folder. I have been unable to find either of those.

    Any suggestions?

    Thanks!
  2. Missing user
    Missing user avatar

    Posted 13 May 2010 Link to this post

    Hello Chris,

    So from your previous ticket, this sounds like it might be related to ManualMailingListTest.aii or perhaps another test exhibiting the same behavior.

    Commenting out the ManualMailingListTest.aii or related test in the .csproj file should have kept the test locally on your machine. If you can please try moving that test out of the project folder to keep from being prompted by WebUI to add it to the solution (sorry, should have mentioned that in the other ticket).

    If the test is still checked out by WebUI, please try removing the test from source control. Let us know if you've already tried both of these solutions.

    Regards,
    Nelson Sin
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Chris Johnson
    Chris Johnson avatar
    20 posts
    Member since:
    Jan 2010

    Posted 13 May 2010 Link to this post

    Actually this isn't related. I see why you might think that, but I did delete that other test, locally and from source control, so it is not causing the prompt. The prompt/checkout behavior I described happens after running tests from within Visual Studio - the results are automatically placed within a folder called Test Results below my solution folder. Those results contain copies of the .aii files that were executed. It is those files that WebUI is prompting about. 

    I just wondered if there were options to control the behavior.
  4. Missing user
    Missing user avatar

    Posted 13 May 2010 Link to this post

    Hello again Chris,

    Thanks for clearing up what is happening. After talking to my boss and coworker, and working to see if a work around would be possible within Visual Studio, it looks like this is a bug that needs to be fixed in WebUI.

    Since WebUI copies the tests to the results folder, then prompts to add it from the same folder, I see the problem you maybe having. Would limiting the number of saved test results to 1 help?

    Unfortunately, I'm not able to reproduce this. I'll still log a bug to see if it's something we would not need to reproduce, but could you also reply back with how this is happening?

    If possible, could you send a video of the repro? I use Jing, but you can send any format you like.

    Sincerely,
    Nelson
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top