Popularity
3.6
Stable
Activity
9.1
Stable
145
27
39

Description

NFluent will make your tests:

fluent to write: with a super-duper-happy auto-completion 'dot' experience. Indeed, just type the Check.That( followed by one of your objects and a dot, and your IDE will show you all the checks available for the type of the given object to verify. No more, no less (i.e. no auto completion flooding). fluent to read: very close to plain English, making it easier for non-technical people to read test code. fluent to troubleshoot: every failing check of the NFluent library throws an Exception with a crystal-clear message status to ease your TDD experience (see examples below). Thus, no need to set a breakpoint and to debug in order to be able to figure out what went wrong. helpful to reverse engineer legacy code: indeed, temporarily write an on-purpose failing assert on a legacy method, so you can understand it and leverage on the "ready-to-be-copied-and-paste-for-arrays-or-collections-initialization-purpose" NFluent assert failure messages. less error-prone: indeed, no more confusion about the order of the "expected" and "actual" values you can find in the classical .NET unit tests frameworks.

NFluent is directly inspired by the awesome Java FEST Fluent check/reflection library (http://fest.easytesting.org/) which had been recently forked (by one of its most active contributor) to create the more prolific AssertJ library.

Programming language: C#
Tags: Test     Testing     TDD    

NFluent alternatives and related packages

Based on the "Testing" category

Do you think we are missing an alternative of NFluent or a related project?

Add another 'Testing' Package

NFluent Recommendations

dupdob
NFluent is key to my TDD hygiene. I easily write clear tests, but most importantly, it provides explicit and helpful messages when tests fail. Can't live without it!!
dupdob
NFluent is key to my TDD hygiene. I easily write clear tests, but most importantly, it provides explicit and helpful messages when tests fail. Can't live without it!!

Have you used NFluent? Share your experience. Write a short recommendation and NFluent, you and your project will be promoted on Awesome .NET.
Recommend NFluent

Recently added NFluent resources

Do you know of a usefull tutorial, book or news relevant to NFluent?
Be the first to add one!