-
Notifications
You must be signed in to change notification settings - Fork 5
Home
BDTest is a testing framework. It can be used with other frameworks (such as MSTest, xUnit or NUnit) or standalone.
The examples in this wiki will use attributes (such as [Test]
) from NUnit.
BDTest is written in .NET Standard - So should work for .NET Framework and .NET Core
- Fast Test Execution
- Clean and Organised Tests
- Tests That Are Clear, Concise and Make Sense
- Tests That Follow Business Acceptance Criteria
- Plain Human Readable Test Reports
The purpose of this framework is to write tests in a behaviour driven manner. This involves Given
, When
, Then
. This makes it clear what the test is doing and what it is asserting. It is also business acceptance style language.
It is also to make tests fast, allowing automatic test context construction without worry of sharing or leaking state to other tests, which in turn should allow full parallelisation.
One of the biggest benefits is the accompanying report server. It gives you a pretty UI out of the box, and a way to keep test data and send it to team members with a URL. You can compare different test runs and it also gives you things like graphs so you can identify trends over time.
Please use the sidebar in this wiki to explore the concepts and see how to get setup.