Spec Explorer Walkthrough
-
Saturday, October 31, 2009 1:47 PMDo you have a Spec explorer walkthough that demonstrates usage?
Can you tell me where I can find such a walkthrough?
All Replies
-
Monday, November 02, 2009 12:14 AMModerator
I suggest following the modeling guidance, included in the tool. You can find the steps in the online help: http://msdn.microsoft.com/en-us/library/ee620476.aspx.- Proposed As Answer by Nico KicillofMicrosoft Employee, Moderator Monday, November 02, 2009 12:14 AM
- Marked As Answer by DonBaechtel Monday, November 02, 2009 3:19 PM
-
Tuesday, April 24, 2012 3:44 AM
Hi Nico,
is there any way to use MOQ testing framework and SpecExplorer together.
I want to use MOQ framework to mock the dependencies of my SUT(System under testing). For generating unit test cases I am trying to use SpecExplorer.
Is it possible to use both of them together for unit test case generation.
-
Tuesday, April 24, 2012 5:38 PMModerator
Hi Rama,
I've never tried using them together.
Best,
Nico
-
Wednesday, April 25, 2012 12:25 PM
Hi Nico,
For ex: I have two classes. one is BankService and second is TransactionService.
BankService is dependent on TransactionService. I am using DependencyInjection to inject TransactionService into BankService in constructor.
I was shared with contract interface ITransactionService but not implementation. Using MoQ framework we can substitute ITransactionService with some fake object.
How could I model this and generate unit testcases
Can you suggest that how could I generate unit test cases using SpecExplorer. is SpecExplorer used only for functional testing?
Appreciate your help in this.
Thanks.
- Edited by Rama Chandra Reddy Wednesday, April 25, 2012 12:27 PM
-
Monday, May 21, 2012 4:01 PM
In step 9.(selecting Author a model from scratch or Test existing implementation item from drop-down list) of this online help, I repeatedly received this Visual Studio error message:"Microsoft Visual Studio Encountered a problem and needs to close."+"Windows is checking for solution to the problem...". Next Visual Studion tries found the solution but without any result. I must restart Visual Studio. When I open the project and try again select an item from drop-down list, the error is repeated.
-
Saturday, May 26, 2012 12:45 AMOwner
Hi Stefan,
We couldn't repro this problem. Is it possible for you to share the solution you are using with us? If that's the case, you can send it to speccon@microsoft.com and we'll take a look.
Thanks,
Spec Explorer Team.

