bUnit
LightBDD
bUnit | LightBDD | |
---|---|---|
4 | 1 | |
1,066 | 337 | |
1.2% | 0.6% | |
9.5 | 4.9 | |
5 days ago | 26 days ago | |
C# | C# | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bUnit
-
Integration Testing on a Blazor Front End. What's Up?
As suggested by /u/whyvra +1 for bUnit.
- Discussing Blazor Designs & bUnit Stub Feature
- bUnit is finally out in a stable release
LightBDD
-
TDD, Where Did It All Go Wrong
That's why I'm a fan of frameworks like https://github.com/LightBDD/LightBDD. Getting every single bit of implementation code out of my tests so that they are just a basic set of rules the system has to abide by always makes testing easier to deal with. Nothing nicer than realizing you need to replacing an entire section of the codebase and not have to update a single test, other than a few fixtures behind the scenes.
What are some alternatives?
SpecFlow - #1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
ant-design-blazor - 🌈A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
BDDfy - BDDfy is the simplest BDD framework EVER!
Fluent Assertions - A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
xBehave.net - ✖ An xUnit.net extension for describing each step in a test with natural language.
Toast - A JavaScript free toast library for Blazor and Razor Component applications
Machine.Specifications - Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.
MudBlazor - Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
snapshooter - Snapshooter is a snapshot testing tool for .NET Core and .NET Framework