Skip to content

Simple fluent framework for structuring unit test contents

Notifications You must be signed in to change notification settings

mike-schenk/NStory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enables unit tests to be written like so:

[Test]
public void GivenASearch_WhenItCompletes()
{
  Scenario
    .Given(ASearchResultsStateObjectThatIsSearching)
    .Then(UserInterfaceShowsBusyIndicator)
    .When(SearchCompletes)
    .Then(UserInterfaceDoesNotShowBusyIndicator)
    .And(TotalResultCountIs, 600)
    .And(IncludedResultCountIs, 500)
    .Execute();
}

About

Simple fluent framework for structuring unit test contents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages