I am a rookie was using the Visual Studio 2008 built-in Unit Testing components, what would be the best way to record or display your results in a unit test?
I want to test my service method when it returns a System.GUID and an empty System.GUID
[TestMethod] public void GetGUID() { MyWcfServiceService.MyWcfServiceClient proxy = new MyWcfServiceService.MyWcfServiceClient(); string name = 'HasGuid'; System.GUID guid = proxy.GetGUID(name); } [TestMethod] public void GetEmptyGUID() { MyWcfServiceService.MyWcfServiceClient proxy = new MyWcfServiceService.MyWcfServiceClient(); string name = 'HasEmptyGuid'; System.GUID guid = proxy.GetGUID(name); }
For GetGUID()…
Similarly for GetEmptyGUID()…