NSpec conventions
Read OriginalThis article details the convention-based design of NSpec, a BDD testing framework for .NET. It explains how to structure tests using steps like Context, Before, Act, It, and After, and demonstrates how to declare these steps via helper methods or C# naming conventions. The post covers setup/cleanup methods, shared 'act' steps to reduce duplication, and shows how these conventions produce readable test output.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser