Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 16 C# Xunit Projects
-
Attachments: At this time you still cannot attach files to test runs, although the functionality finally is coming in V3!
-
Project mention: Unpopular opinion: CI/CD engines are an awful idea | reddit.com/r/devops | 2023-02-04
This is why 90-99% of our builds are done with Cake. It isolates all of it and you can run the build locally if you want.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
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.
Project mention: Integration tests without API dependencies with ASP.NET Core and WireMock.Net | dev.to | 2022-12-20 -
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
Or here... https://github.com/SpecFlowOSS/SpecFlow/blob/master/Dockerfile
-
bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
Project mention: Integration Testing on a Blazor Front End. What's Up? | reddit.com/r/Blazor | 2022-06-13As suggested by /u/whyvra +1 for bUnit.
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Xunit.Gherkin.Quick
BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)
Extensible: Has some really good extension support. There are libs that provide some very interesting ways to use xunit, such as Xunit.Gherkin.Quick, xunit-spec, xunit-bdd, CoreBDD, and many others
-
We'll use the REST API Version of the Tic Tac Toe game that I have written using C#! Now let's see the performance test script. Ah! It's worth mention that I won't explain in detail each configuration step. JMeter has an excellent assistant feature. You just add a resource and click on the help icon. It will redirect you to the manual related to the same resource you added. It's awesome 😛. Thus, if you don't understand a given component, either go to the help page or comment below that I will happily help you 🤟.
-
-
-
xunit-dependency-injection
:fire: A small library to help .net developers leverage Microsoft's dependency injection framework in their test projects powered by Xunit
-
-
-
-
EnvironmentDetector
Library that provides a simple way to detect whether your code is running in a test environment or not. It currently supports detecting MSTest, NUnit, and xUnit test frameworks.
Project mention: TestsDetector - Detect MSTest, NUnit, and xUnit test frameworks. | reddit.com/r/dotnet | 2022-12-21 -
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# Xunit related posts
- NUnit vs XUnit for .net6+ microservices
- Creating Your Own Custom Attributes in C# and Retrieving Their Values
- Specflow on Docker
- Is there any way to test a project within another project in c#?
- GoDotTest: C# Testing for Godot with debugging in VSCode and command-line support
- Integration Testing on a Blazor Front End. What's Up?
- Reduce your tests cognitive complexity with AutoFixture
-
A note from our sponsor - SonarLint
www.sonarlint.org | 28 Mar 2023
Index
What are some of the best open-source Xunit projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | xUnit | 3,645 |
2 | Cake | 3,549 |
3 | Fluent Assertions | 3,172 |
4 | SpecFlow | 2,070 |
5 | bUnit | 855 |
6 | LightBDD | 281 |
7 | snapshooter | 220 |
8 | Xunit.Gherkin.Quick | 176 |
9 | tic-tac-toe-csharp-playground | 31 |
10 | xRetry | 30 |
11 | testcontainers-dotnet | 26 |
12 | xunit-dependency-injection | 14 |
13 | GenWrap | 9 |
14 | DbSample | 7 |
15 | CaptureLogsInUnitTests | 3 |
16 | EnvironmentDetector | 1 |