How to write clear and robust unit tests: the dos and don'ts

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Audacia.Random

    Random data generation library

  • This point doesn't prohibit you from using randomised information, and Audacia even have an open-source repo of extension methods to help generate randomised information, so long as you're randomising information that has no effect on the outcome of the test.

  • Roslynator

    Roslynator is a set of code analysis tools for C#, powered by Roslyn.

  • The reason I say 'similar' above is that though you may treat it as production code, there are some things in the nature of writing tests that may require different coding standard to be enforced. A good example of this is the RCS1046 analyzer, enforcing names of asynchronous methods to be suffixed with 'Async'; in this case it would be acceptable to override this rule (with an .editorconfig for example) so that you're method name continues to describe the behaviour of the application, and we don't have tests named like public async Task My_descriptive_method_name_async().

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • does anyone have a working csharp-language-server setup they can share?

    3 projects | /r/neovim | 24 Apr 2023
  • What do you think about formatting contents in parenthesis like contents in braces?

    1 project | /r/csharp | 31 Jan 2023
  • Linting async method declarations

    1 project | /r/csharp | 5 Sep 2022
  • Is my code hard to read?

    1 project | /r/csharp | 12 Aug 2022
  • Visual Studio vs. Jetbrains Rider Performance

    1 project | /r/dotnet | 28 Jun 2022