Cannot rename Test Condition in Sql Unit Test - by Marcin_Zawadzki

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


4
0
Sign in
to vote
ID 794237 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 7/17/2013 6:12:50 AM
Access Restriction Public

Description

When you modify unit test code (for example to use SQL Test to test Entity Framework) 

And you try to modify test condition name 

You get "Property value is not valid" with details "Object not set to instance of and object"
Sign in to post a comment.
Posted by Marcin_Zawadzki on 8/13/2013 at 6:19 AM
Hi Jill

I will on Monday - when I will be at work.

Yours
Marcin Zawadzki
Posted by Microsoft on 8/12/2013 at 4:22 PM
Hi Marcin,
It looks like you have a couple bugs logged regarding DB Unit Testing. We've tried to repro these bugs and unfortunately cannot yet. Since there are issues just doing the basic steps, can you try installing our latest update to see if that helps resolve your issue?
http://msdn.microsoft.com/en-us/data/hh297027

Thanks,
Jill
Posted by Microsoft on 8/9/2013 at 2:26 PM
Hi, we are having trouble reproducing this issue based on the repro steps and attached solution. Is there any more information you can provide?
- In the repro, the only change is to update the SqlTest1 method. However the code sample is the same as the default code created for that method. In your case was there different code there before?
- Were you editing the InitializeComponent section of the code file? I notice in your workaround you mention editing this. Note that as per the code comments, modification of that method is not permitted as it is automatically updated when changing properties etc. If you did make changes here, could you give an example of what you did?

Basically, a before and after sample of the code file would be a big help, in addition to any extra information you could provide. Extra information would include whether closing and reopening the file fixes the issue or if it persists even after doing this. Thanks!
Posted by Microsoft on 7/18/2013 at 1:24 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 7/17/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by Marcin_Zawadzki on 7/17/2013 at 6:33 AM
This same when you try to change any propery of TestCondidtion
Posted by Marcin_Zawadzki on 7/17/2013 at 6:14 AM
In attached file - solution to reproduce error, Visual Studio info and screens from bug.