NFluent - because it's all about tiny details that really matter

NFluent (http://n-fluent.net/) is an assertion library. Wait, there are making libraries even for asserting? Isn’t old good, built-in ‘Assert’ enough for everyone? NFluent has some nice features (expecting particular type of exception, collections and enums support), its fluent syntax is very pleasant to use, but there’s just one key feature that really kills all assertion libraries I’ve seen so far: Failed assertions’ details printing Once assertion fails, because (for instance) my variable a is not equal to 5, I’d really like to know what a was then.…

Read More