coverlet
Fine Code Coverage
coverlet | Fine Code Coverage | |
---|---|---|
1 | 1 | |
2,012 | 485 | |
- | - | |
0.0 | 9.4 | |
about 3 years ago | about 1 month 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.
coverlet
-
.NET Core Code Coverage
Code coverage tools are a great way to improve the code quality, but there are a lot of tools that require a paid license to use it like dotCover, the Enterprise version of Visual Studio or Visual Studio extensions. After some research, I found out that two free tools combined can generate code coverage reports. The first tool is called Coverlet which generates the code coverage as I wanted and it's also working with .NET Framework. Essentially is creating an XML report file that covers the lines, branches, and methods. And the second tool is ReportGenerator which is used for parsing the generated XML and expose the data in a friendly format.
Fine Code Coverage
-
C# development tools
If you start writing unit tests, I highly recommend Fine Code Coverage to see what percentage of your code has been reached by the existing unit tests: https://github.com/FortuneN/FineCodeCoverage
What are some alternatives?
NUnit - NUnit Framework
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
coverlet - Cross platform code coverage for .NET
MSTest - MSTest framework and adapter
ReportGenerator - 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.
NetCoreCodeCoverage
Expecto - A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
CheckTestOutput - Semi-manual asserts for .NET unit tests
Shouldly - Should testing for .NET—the way assertions should be!
xUnit - xUnit.net is a free, open source, community-focused unit testing tool for .NET.