ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, or lcov into human readable reports in various formats. The reports show the coverage quotas and also visualize which lines of your source code have been covered. Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'. Installation: dotnet tool install -g dotnet-reportgenerator-globaltool dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools dotnet new tool-manifest dotnet tool install dotnet-reportgenerator-globaltool Usage: reportgenerator [options] tools\reportgenerator.exe [options] dotnet reportgenerator [options]
A deliberately-small collection of useful extension methods with an embarrassing lack of test coverage.
Unit test stub autogeneration, automatic attribute-based testing, automatic nullability testing, TargetMethodAttribute-based code coverage
Enums and Delegates are a fundimental component of .Net, however, as of version 6.0 of the C# language, there's no way to (directly) constrain a generic parameter to System.Enum or System.Delegate. There's so many reasons to want to do so, not the least of which is the set of kludgy static methods on Enum and Delegate that would really benefit from generic implementations. This package addresses that need. Written in C++/CLI since C# cannot declare an enum or delegate restriction, this library provides a set of well performing extension and static methods off of the "Diagonactic.Enums" class that provide a more readable way of performing common operations on enums and delegates, all of which can be consumed by C# code. Enum methods are stable, Delegate methods are considered "Beta". As a result, the API for Delegate methods may be modified (Obsolete tags for invalid members will be added if this happens), though every effort will be made to avoid this. Enum methods are API stable, however, methods are added occasionally. All stable methods are unit tested for all underlying types with complete code coverage. See release notes and readme.md on the Project site. Included .dll is compiled IL only in "Any CPU" format.
Microsoft.CodeCoverage package brings infra for collecting code coverage from vstest.console.exe and "dotnet test".
This QUnit support for ASP.NET MVC. You may also use it for ASP.NET Webforms, but the css folder will not be on the default location. QUnit is a powerful, easy-to-use, JavaScript test suite. It's used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript code (and even capable of testing JavaScript code on the server-side). QUnit is especially useful for regression testing: Whenever a bug is reported, write a test that asserts the existence of that particular bug. Then fix it and commit both. Every time you work on the code again, run the tests. If the bug comes up again - a regression - you'll spot it immediately and know how to fix it, because you know what code you just changed. Having good unit test coverage makes safe refactoring easy and cheap. You can run the tests after each small refactoring step and always know what change broke something. QUnit is similar to other unit testing frameworks like JUnit, but makes use of the features JavaScript provides and helps with testing code in the browser, eg. with it's stop/start facilities for testing asynchronous code.
This is a .NET library that generates sets of test cases, for use by parameterised tests. Think of it as being a DSL for making 'object mothers', whose generated data can be used as test cases (or for any other purpose, for that matter). Each test case is built up progressively from smaller pieces of data that are combined together. The smallest pieces are referred to as 'test variables'. Each test variable is constrained to take values from its own set of allowed 'levels'. Changing each test variable independently to a new level produces a new test case. If a test requires a certain 'strength' of coverage of combinations of levels from different test variables, the library produces a stream of test cases that honour this guarantee while avoiding getting swamped with a combinatoric explosion of test cases. If a parameterised test fails with an exception for a specific test case, the library creates a signature that allows it to reproduce the failing test case immediately in a separate test; this is to aid debugging. The sources are written in F#, but the API can be used just as comfortably from C# as from F#. The documentation is on the front page of the GitHub site: https://github.com/sageserpent-open/NTestCaseBuilder. You can also find sample code ready to run by installing the NuGet samples package: https://www.nuget.org/packages/NTestCaseBuilder.Samples.
An open source code coverage tool (branch and sequence point) for all .NET Frameworks 2 and above (including Silverlight). Also capable of handling 32 and 64 bit processes. Use ReportGenerator for best viewing results (also available via Nuget).
Per-file coverage enforcement with automatic threshold ratcheting from Cobertura XML
A testing module for PsMake, allowing to execute nunit/nunit3/mbunit/mstest/xunit/dotnet tests with optional coverage check
Adds a concept of thread safety to C# and VB so that most threading defects are detected at build-time or in a single-threaded test coverage. Includes a deadlock detection policy and thread dispatching aspects. An official PostSharp pattern library.
Identifies high-risk .NET source files and ranks them by starting priority. Phase 1 cross-references git churn, code coverage, and cyclomatic complexity to produce a Risk Score. Phase 2 adds Roslyn-based seam analysis (unseamed infrastructure calls, direct instantiation, concrete constructor parameters, static calls) to compute a Starting Priority score — so teams know both where tests are needed and where they can practically begin today.
Identifies high-risk .NET source files by cross-referencing git churn, code coverage, and cyclomatic complexity. Helps teams prioritize where to add tests in legacy codebases.
A dotnet new template for scaffolding Model Context Protocol (MCP) servers in .NET 10 with clean architecture, multiple transport options (HTTP/Stdio), and full test coverage.
Dependency required for instrumented assemblies.
Microsoft.Testing.Platform adapter for DraftSpec. Enables running CSX specs via dotnet test with built-in coverage support.
ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, or lcov into human readable reports in various formats. The reports show the coverage quotas and also visualize which lines of your source code have been covered. Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script. Usage: dotnet $(UserProfile)\.nuget\packages\reportgenerator\x.y.z\tools\net8.0\ReportGenerator.dll [options] $(UserProfile)\.nuget\packages\reportgenerator\x.y.z\tools\net8.0\ReportGenerator.exe [options] $(UserProfile)\.nuget\packages\reportgenerator\x.y.z\tools\net47\ReportGenerator.exe [options]
EF4 Templates uses T4toolbox to generate Repositories, Unit of work, POCO entities that can be unit tested, achieving over 90% code coverage. They also generate an ODATA service with authentication.
OpenCodeCoverageFramework is a framework for measurement of test coverage supporting multiple programming languages.
ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, or lcov into human readable reports in various formats. The reports show the coverage quotas and also visualize which lines of your source code have been covered. Use this package if you want to write a custom plugin for ReportGenerator or if you want to call/execute ReportGenerator within your code base. Plugin development: https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage
Easy temporary SQL Server databases for integration testing.
A high-performance .NET JSON transformation engine with advanced conditional logic, string operations, conditional aggregation, and comprehensive test coverage. Features: string comparison operators (contains, startsWith, endsWith), complex multi-condition support (AND/OR operators), conditional aggregation with array filtering, mathematical operations, string concatenation, aggregation functions, field mapping, and interactive web playground. Includes 36 comprehensive tests and performance benchmarks showing sub-microsecond operations. Production-ready with extensive validation and real-world scenarios.
A powerful .NET library that converts anonymous types and EF Core projections to strongly-typed types using source generators. Features include property addition/exclusion/type conversion, smart converters, and support for Records, Classes, and Structs with comprehensive testing coverage.
Core assembly.
- Helper methods collection. Explore functionality for increase coverage gain. - Log4Net integrated - Common Models and Static types added
A fluent assertions library that performs full coverage on enumerable types.
NCrunch is an automated concurrent testing tool for Visual Studio .NET 2015. It intelligently runs automated tests so that you don't have to, and gives you a huge amount of useful information about your tested code, such as code coverage and performance metrics, inline in your IDE while you type.
Helper methods collection. Explore functionality for increase coverage gain.
Pask extension that provides test automation functionality with code coverage reports generated by dotCover.