Software Alternatives & Reviews
Table of contents
  1. Videos
  2. Social Mentions
  3. Comments

NUnit

NUnit is a unit-testing framework for all .Net languages. subtitle

NUnit Reviews and details

Screenshots and images

  • NUnit Landing page
    Landing page //
    2022-03-12

Badges

Promote NUnit. You can add any of these badges on your website.
SaaSHub badge
Show embed code

Videos

🎓⭐️ Master .NET and C# Unit Testing with NUnit and Moq Review

Overview of NUnit's Attributes

How to use the TestCase attribute in C# and NUnit

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about NUnit and what they use it for.
  • Fluent Assertions: Fluently Assert the Result of .NET Tests
    This library extends the traditional assertions provided by frameworks like MSTest, NUnit, or XUnit by offering a more extensive set of extension methods. Fluent Assertions supports a wide range of types like collections, strings, and objects and even allows for more advanced assertions like throwing exceptions. - Source: dev.to / 10 months ago
  • TDD vs BDD - A Detailed Guide
    Next, you need to install a testing framework that will be used for performing unit testing in your project. Several testing frameworks are available depending on the programming language used to create an application. For example, JUnit is commonly used for Java apps, pytest for Python apps, NUnit for .NET apps, Jest for JavaScript apps, and so on. We’ll use the Jest framework for this tutorial since we are using... - Source: dev.to / 11 months ago
  • Setting up a simple testing project with C#
    At this point you're going to see a familiar screen asking you to select a project. Here we're looking for a test project. By default, Visual Studio gives you access to 3 different testing frameworks based on your choice of project. These are MSTest, XUnit and NUnit. Ultimately, all 3 of these testing accomplish the same thing, and I've worked with all of them at various points in my career. The difference is... - Source: dev.to / 11 months ago
  • Test-Driven Development
    Use a testing framework: Utilize a testing framework like NUnit, xUnit, or MSTest to create, organize, and run your tests. These frameworks provide a consistent way to write tests, generate test reports, and integrate with continuous integration tools. - Source: dev.to / 12 months ago
  • Unlock the Power of Unit Testing: A Beginner’s Guide to Quality Software Development
    This is a basic example of how to create an NUnit unit test for a simple API in a controller with C#. You can find more information and resources on the NUnit website and in the NUnit documentation. - Source: dev.to / about 1 year ago
  • Creating Your Own Custom Attributes in C# and Retrieving Their Values
    I was trying to think of an example of where C# attributes might be used in every day life and then it dawned on me: unit testing! If you have ever used a unit test framework such as MSTest, NUnit or xUnit, you will have used attributes in C# to define the classes and methods that you would like the test framework to execute. This is just one example of how you can use attributes to assign metadata to elements of... - Source: dev.to / over 1 year ago
  • Reduce your tests cognitive complexity with AutoFixture
    The setup here is really minimal, just create a new test project. I'll be using xUnit but NUnit should be fine too. - Source: dev.to / almost 2 years ago
  • Why I Chose C#
    There is also an infinite amount of great libraries that already exist out there. You have LINQ that acts as a universal data query syntax. AutoMapper for mapping types to other types. NUnit and Fluent Assertions for unrivaled Unit Testing. And many, many more. - Source: dev.to / about 2 years ago
  • XUnit vs NUnit What to Choose to Write Clean Code Part 1.
    As it states on the landing page of NUnit. - Source: dev.to / about 2 years ago
  • Unit test for SSG
    For the task for open source development in this week is adding unit test for Static Site Generator(ssg). There are 3 testing framework options: xUnit, NUnit, and MSTest. I have choose xUnit testing framework for unit testing because xUnit provides good documentation for creating unit test project and unit testing instruction. - Source: dev.to / over 2 years ago
  • What is unit testing?
    There are unit testing frameworks for most popular programming languages. Some examples of popular unit test frameworks are Jest for Javascript, JUnit for Java, and NUnit for all .Net languages. - Source: dev.to / over 2 years ago
  • ASP.NET Core Unit Testing with FluentAssertions
    A unit test is a way to test the smallest unit of the software. In almost all programming languages, this smallest unit is normally a function (method), a subroutine, or a property. When we do unit testing, we check whether a particular property has the expected value or a particular method is returning a value or result we are expecting it to return. There are many popular unit test frameworks available for... - Source: dev.to / over 2 years ago
  • Automated Test in C#?
    Sure, there are the Microsofts own MSTest, then NUnit and XUnit and others. For Mocking you can use Moq and surely others I'm not familiar with. Source: about 3 years ago
  • Integration testing with EF Core, part 2
    Depending on the test framework you use, you have to find the proper hook to tell testcontainers to start your SQL Server Docker container just before test execution starts. I am using NUnit so the hook I picked is a class in the root namespace of the integration test project with the [SetupFixture] attribute applied to it. - Source: dev.to / about 3 years ago

Do you know an article comparing NUnit to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Generic NUnit discussion

Log in or Post with

This is an informative page about NUnit. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.