Skip to content

An exploratory repo for looking into a way of creating "fluent" tests, inspired by FluentAssertions, but taking a similar approach to unit tests themselves

Notifications You must be signed in to change notification settings

patrick-yates-redgate/fluenttests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluentTests

An exploratory repo for looking into a way of creating "fluent" tests, inspired by FluentAssertions, but taking a similar approach to unit tests themselves

What is the goal?

Would like to be able to create tests where the entire test name is constructed from the test "steps" and that these steps are broken down into small enough chunks that they can be human readable

For example

Given("ABC").When(Reverse).Should().Be("CBA");

Which would generate the test name:

  • Given(ABC)_When(Reverse)_Should_Be(CBA)

Trouble Shooting

Until it is packaged properly you may find you get this if you import the library but don't also reference FluentAssertions. Adding FluentAssertions 6.9.0 via NuGet is the easiest way to fix

image

Contributions

Ideas, code, suggestions all most welcome :)

About

An exploratory repo for looking into a way of creating "fluent" tests, inspired by FluentAssertions, but taking a similar approach to unit tests themselves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages