Closed srivathsah closed 7 years ago
Hi @srivathsah
Yes, check out the ATM sample. You can see that the AccountHolderWithdrawsCashStory story class is a simple class where you set the story metadata in the constructor. Then you reference that class as the second generic parameter class, such as in the AccountHasSufficientFunds scenario.
There are 2 types of story base classes (or you could create your own). UserStory follows the As a, I want, So that template. The ValueStory uses the In order to, As a, I want template.
That's great, cheers
This looks exactly like what I was planning to do, however I am not sure how to use this when it comes to user stories. In one of your issues https://github.com/mwhelan/Specify/issues/13 you have mentioned something like ScenarioFor<MediatorDriver, PersonStory>. Whats the semantics for TStory here