Formal evaluation and analysis of C# testing framework #185
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need to evaluate and analyse what testing framework to use for C#.
MSTest
Microsoft test framework for all .NET languages. It's extensible and works with .NET CLI, Visual Studio, Visual Studio Code, and Rider. It supports both VSTest and Microsoft.Testing.Platform. According to Microsoft.
MSTest is a testing framework supported by Microsoft. It is used for unit testing. MSTest integrates well with Visual Studio and is often used in enterprise environments. According to BrowserStack.
Pros:
Cons:
NUnit
Unit-testing framework for all .NET languages. Initially, NUnit was ported from JUnit, and the current production release has been rewritten with many new features and support for a wide range of .NET platforms. It's a project of the .NET Foundation. It supports both VSTest and Microsoft.Testing.Platform. According to Microsoft.
NUnit is one of the most popular testing frameworks for C#. It enables test-driven development (TDD), assertions for validation, and easy integration with CI/CD pipelines. It provides robust test execution, reporting, and supports parameterized tests for comprehensive test coverage. It integrates seamlessly with CI/CD pipelines, providing detailed test reports. NUnit offers different assertions, supports asynchronous test execution, and test parameterization. According to BrowserStack.
Pros:
Cons:
xUnit.net
Free, open-source, community-focused unit testing tool for .NET. The original inventor of NUnit v2 wrote xUnit.net. xUnit.net is the latest technology for unit testing .NET apps. It also works with ReSharper, CodeRush, and TestDriven.NET. xUnit.net is a project of the .NET Foundation and operates under its code of conduct. It supports both VSTest and Microsoft.Testing.Platform. According to Microsoft.
xUnit is a popular, modern unit testing framework for C# that is designed with simplicity and extensibility in mind. It is particularly well-suited for .NET Core and .NET 5+ applications, although it also supports .NET Framework. It encourages clean, maintainable test code and supports modern .NET features. It integrates well with CI/CD pipelines and provides comprehensive test execution reports. xUnit is widely adopted due to its flexibility, minimalistic approach, and strong community support within the .NET ecosystem. According to BrowserStack.
Pros:
Cons:
An comparison table according to BrowserStack.
@a24vinla , @b24erika
Should this issue be closed or what?
uncertain, if it is reviewed or why the tag is removed @c24elipe.