BrightSword.Crucible Documentation
Unit testing utilities for MSTest
Overview
BrightSword.Crucible provides helper methods for writing cleaner, more expressive unit tests with MSTest. It focuses on making exception testing easier and more readable.
Installation
dotnet add package BrightSword.Crucible
Features
Exception Testing
The primary feature is the ExpectException<TException> extension method, which provides a fluent, expressive way to test that code throws expected exceptions.
Usage Examples
See the test project for comprehensive examples.
API Reference
- **ExpectException
**
Version History
2.0.0 (Current)
- Initial monorepo release
- .NET 10 support
- Enhanced documentation
Contributing
See the Contributing Guidelines.
License
This project is licensed under the Creative Commons Legal Code (CC0 1.0 Universal). See the main repository LICENSE for details.
Part of the BrightSword family of libraries