WILLIAM
PEI
The logo of William Pei

SENIOR .NET DEVELOPERAT
INFOTRACKIN
SYDNEYAUSTRALIA

\\FLUENT CONSTRUCTOR ASSERTIONS open_in_new

@Language@Built@Used@Blog
C#.NET Standard 2.0Unit TestingCode With Me
This is a library for fluently writing constructor unit tests and assertions. The reason I created this was because I found it very clunky to write constructor tests - especially for constructors where lots of exceptions are thrown. The classic scenario is a constructor that takes 3 - 4 arguments and null checks all of them.
A mock up of a browser window.
Slide 1 of 2
Complex usage of Fluent Constructor Assertions
Simple usage of Fluent Constructor Assertions
Complex usage of Fluent Constructor Assertions
Simple usage of Fluent Constructor Assertions
Complex usage of Fluent Constructor Assertions
Simple usage of Fluent Constructor Assertions
Load More