|7 days ago||6 days ago|
|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.
Show HN: A C# library to help you enforce a Given-When-Then structured Unit test
2 projects | news.ycombinator.com | 29 Aug 2021
Looks like a similar concept to https://github.com/machine/machine.specifications which I used many years ago to try and achieve BDD style unit testing.
One point to note from your introduction was the following statement:
Implementing a Clean Architecture in ASP.NET Core 6
12 projects | dev.to | 3 Feb 2022
Clean Code in C# Part 7 Unit Tests
1 project | dev.to | 10 Jan 2022
When creating unit tests readability should be a top priority. Analyze the following test created with xUnit.net:
Getting Started with Unit Testing in Visual Studio 2022 - nUnit
2 projects | reddit.com/r/dotnet | 5 Jan 2022
How to run async method inside a class method
2 projects | reddit.com/r/csharp | 14 Dec 2021
If you're using xUnit for your tests, you can implement the IAsyncLifetime interface it helpfully provides for you.
Clean Architecture Solution Template
2 projects | dev.to | 25 Nov 2021
The projects are all .NET 6 applications with nullable references types and implicit usings enabled. The unit testing projects use Xunit out of the box. There are also support files such as .gitignore, .editorconfig, etc.
Writing tests for CLI tool
3 projects | dev.to | 14 Nov 2021
The testing framework that I chose is XUnit. The first reason is that it is trendy compared to another test framework such as NUnits. I created test methods stub from the existing code by Create Unit Tests command. To use it with Xunit, I have to implement the XUnit.net.TestGenerator extension to my project.
Announcing .NET 6 — The Fastest .NET Yet
9 projects | reddit.com/r/programming | 8 Nov 2021
Tests is a xunit project to unit test your domain logic.
BREAKING!! NPM package ‘ua-parser-js’ with more than 7M weekly download is compromised
32 projects | reddit.com/r/programming | 22 Oct 2021
https://www.nuget.org/packages/Newtonsoft.Json/ https://www.nuget.org/packages/AutoMapper/ https://www.nuget.org/packages/Dapper/ https://www.nuget.org/packages/FluentValidation/ https://www.nuget.org/packages/FluentAssertions/ https://www.nuget.org/packages/NUnit/ https://www.nuget.org/packages/xunit/ https://www.nuget.org/packages/YamlDotNet/ https://www.nuget.org/packages/Moq/ That is simply not true. Mature c# projects purposely maintain no downstream dependencies and is they do, it's to a major reputable lib. See for yourself - these are staple third party packages commonly used. Anything dependency starting with System or NETStandard is Microsoft maintained.
Os 3 principais frameworks de testes que todo desenvolvedor .NET deveria conhecer
3 projects | dev.to | 18 Oct 2021
Code Smell 91 - Test Asserts without Description
1 project | dev.to | 8 Oct 2021
XUnit: Assert Description Deprecation
What are some alternatives?
NUnit - NUnit 3 Framework
Shouldly - Should testing for .NET - the way Asserting *Should* be!
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.
MSTest - MSTest V2 framework and adapter
Moq - Repo for managing Moq 4.x
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
Expecto - A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
NSubstitute - A friendly substitute for .NET mocking libraries.
Fixie - Ergonomic Testing for .NET
Stryker.NET - Mutation testing for .NET core and .NET framework!
Bogus - :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.