AutoFixture
SpecFlow
Our great sponsors
AutoFixture | SpecFlow | |
---|---|---|
8 | 1 | |
2,946 | 2,070 | |
2.1% | 1.4% | |
3.1 | 7.5 | |
about 1 month ago | 4 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
AutoFixture
- Integration tests without API dependencies with ASP.NET Core and WireMock.Net
-
I need a C# crash course for experienced developers
AutoFixture
-
Reduce your tests cognitive complexity with AutoFixture
Ensuring that your test is still readable and not bloated by the setup of those variables may be quite a challenge but hopefully no more with AutoFixture, let's see how!
-
Practical complex data for unit testing
One neat library for creating and generating test data is AutoFixture. The creators describe it as follows:
-
14 .NET packages I always recommend
First time I heard of Bogus, looks interesting, been using AutoFixture for those will definitely take a look at it.
- LPT: There is a library called Bogus, you should know it exists much earlier than I did in my career.
-
Cell CMS - Criando testes de maneira prática
AutoFixture / AutoFixture
SpecFlow
-
Specflow on Docker
Or here... https://github.com/SpecFlowOSS/SpecFlow/blob/master/Dockerfile
What are some alternatives?
Bogus - :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
NSubstitute - A friendly substitute for .NET mocking libraries.
Moq - Repo for managing Moq 4.x
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.
FakeItEasy - The easy mocking library for .NET
BDDfy - BDDfy is the simplest BDD framework EVER!
NBuilder - Rapid generation of test objects in .NET
xBehave.net - ✖ An xUnit.net extension for describing each step in a test with natural language.
Xunit.Gherkin.Quick - BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)
LightBDD - BDD framework allowing to create easy to read and maintain tests.
MSTest - MSTest framework and adapter
Machine.Specifications - Machine.Specifications is a Context/Specification framework for .NET that removes language noise and simplifies tests.