Test-driven Development Support with the Generate From Usage FeatureHi all - <br><br>My name is Karen Liu and I'm the lead program manager of the C# and VB IDE's.  One direction we've taken in this release is to provide great support when you're writing code to consume an API before it even exists (one example is in test-driven development where you write tests first).  Check out our new generate from usage feature -- it allows you to generate stubs for any class, constructor, method, or property you use before it exists (think about VS as laying down the train tracks for you).  <br><br>We'd love your feedback on the workflow and scope of the feature!  Do you wish we generated something else? Are there scnearios you use often that we're missing?<br><br>For more information on the CTP itself, check out <a href="http://go.microsoft.com/fwlink/?LinkId=129231"><font color="#0072bc">http://go.microsoft.com/fwlink/?LinkId=129231</font></a>.<br><br>Thanks!<br>Karen Liu<br>Lead Program Manager C#/VB<hr size="1" align="left" width="25%">Program Manager, Visual C#© 2009 Microsoft Corporation. All rights reserved.Fri, 03 Apr 2009 16:13:32 Zd37cd027-dfa0-4bbd-958e-765446dd3476http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#d37cd027-dfa0-4bbd-958e-765446dd3476http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#d37cd027-dfa0-4bbd-958e-765446dd3476Karen Liu MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Karen%20Liu%20MSFTTest-driven Development Support with the Generate From Usage FeatureHi all - <br><br>My name is Karen Liu and I'm the lead program manager of the C# and VB IDE's.  One direction we've taken in this release is to provide great support when you're writing code to consume an API before it even exists (one example is in test-driven development where you write tests first).  Check out our new generate from usage feature -- it allows you to generate stubs for any class, constructor, method, or property you use before it exists (think about VS as laying down the train tracks for you).  <br><br>We'd love your feedback on the workflow and scope of the feature!  Do you wish we generated something else? Are there scnearios you use often that we're missing?<br><br>For more information on the CTP itself, check out <a href="http://go.microsoft.com/fwlink/?LinkId=129231"><font color="#0072bc">http://go.microsoft.com/fwlink/?LinkId=129231</font></a>.<br><br>Thanks!<br>Karen Liu<br>Lead Program Manager C#/VB<hr size="1" align="left" width="25%">Program Manager, Visual C#Tue, 28 Oct 2008 18:33:06 Z2008-10-28T18:33:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#3643b424-c296-43aa-bf64-6d69c27d2559http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#3643b424-c296-43aa-bf64-6d69c27d2559Julio Casalhttp://social.msdn.microsoft.com/Profile/en-US/?user=Julio%20CasalTest-driven Development Support with the Generate From Usage FeatureHi. I must say this is an awesome and useful feature and I expect it will help a lot in moving to TDD. <br><br>While reproducing the walkthrough in my VS2010 VPC and generating a class from the unit test I chose to place the class in another class library project, but when I opened the class I noticed that the generated class is placed inside the Test class namespace, but not in the class library default namespace.<br><br>Not sure if this is a but or is by design but I would really expect to have the new class in the class library namespace to have a better grouping and organization.<br><br>Is it possible to make this change in this feature?<br><br>Thanks,<br> <hr align=left size=1 width="25%"> JulioSat, 15 Nov 2008 18:42:00 Z2008-11-15T18:42:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#4f2494c5-26c9-4832-99b3-279e9f360793http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#4f2494c5-26c9-4832-99b3-279e9f360793Karen Liu MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Karen%20Liu%20MSFTTest-driven Development Support with the Generate From Usage Feature Julio - <br>Thanks for the feedback here!  You'll be happy to see that we've made this change for the Beta.<br><br>Karen<hr class="sig">Lead Program Manager - C#/VBMon, 12 Jan 2009 07:25:58 Z2009-01-12T07:25:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#45cbffba-ea93-4830-915d-00e8cf19fd65http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpvbcs/thread/d37cd027-dfa0-4bbd-958e-765446dd3476#45cbffba-ea93-4830-915d-00e8cf19fd65Julio Casalhttp://social.msdn.microsoft.com/Profile/en-US/?user=Julio%20CasalTest-driven Development Support with the Generate From Usage Feature Thanks a lot!<br><br>Julio<hr class="sig">http://juliocasal.comMon, 12 Jan 2009 15:46:41 Z2009-01-12T15:46:41Z