I have a scenario where I have a fairly complex object that I load from a database.
That object has several nested objects. While I am debugging I find an instance of this object that I would like to use in a unit test. Right now I have to create this object manually. Since it is fairly complex, it takes me a while.
My unit testing time would be better spent if there was a way to tell the watch window to output this variable to a text window (or the clipboard).
It seems all the info needed is in the watch window.
I would not expect it to create using statements or any such thing, just use the class info it has and create the new
statements (nested as many levels as my object goes).
Is there any such tool out there? (If not maybe I just found a way to make my fortune?)