Nunit automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

NUnit is a unit-testing framework for all .NET languages. Is completely rewritten with many new features and support for a wide range of .NET platforms.

Support and updates

  • Nunit has 2195 stars, 691 forks.
  • It has 1 major releases in the past 6 months.
  • It has 1 commits and there are 13 open pull requests.
  • It has 361 open issues and 2257 have been closed.

Code statistics

  • Nunit has 24 packages.
  • Nunit has 95 classes and 353 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

A Complete Tutorial on ASP.NET Testing

Building websites or software solutions requires extensive testing. ASP.NET is a programming model that provides all the software infrastructure and services needed to build high-performance applications for PCs and mobile devices.

24 Testing Scenarios you should not automate with Selenium

While there is a huge demand and need to run Selenium Test Automation, the experts always suggest not to automate every possible test. Exhaustive Testing is not possible, and Automating everything is not sustainable.

Selenium C# Tutorial: Using Implicit Wait In Selenium C#

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium C# Tutorial.

Our 10 Most-Read Articles Of 2020

2020 is finally winding down—and it’s been a challenging year for a lot of us. But we’re pretty sure at this point that when the new year begins, this year will just – vaporize.

How To Easily Perform Specflow Parallel Execution With NUnit

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on Selenium NUnit Tutorial.

Nunit tutorial

Nunit is a well-known open-source unit testing framework for C#. This framework is easy to work with and user-friendly. LambdaTest’s NUnit Testing Tutorial provides a structured and detailed learning environment to help you leverage knowledge about the NUnit framework. The NUnit tutorial covers chapters from basics such as environment setup to annotations, assertions, Selenium WebDriver commands, and parallel execution using the NUnit framework.

Chapters

  1. NUnit Environment Setup - All the prerequisites and setup environments are provided to help you begin with NUnit testing.
  2. NUnit With Selenium - Learn how to use the NUnit framework with Selenium for automation testing and its installation.
  3. Selenium WebDriver Commands in NUnit - Leverage your knowledge about the top 28 Selenium WebDriver Commands in NUnit For Test Automation. It covers web browser commands, web element commands, and drop-down commands.
  4. NUnit Parameterized Unit Tests - Tests on varied combinations may lead to code duplication or redundancy. This chapter discusses how NUnit Parameterized Unit Tests and their methods can help avoid code duplication.
  5. NUnit Asserts - Learn about the usage of assertions in NUnit using Selenium
  6. NUnit Annotations - Learn how to use and execute NUnit annotations for Selenium Automation Testing
  7. Generating Test Reports In NUnit - Understand how to use extent reports and generate reports with NUnit and Selenium WebDriver. Also, look into how to capture screenshots in NUnit extent reports.
  8. Parallel Execution In NUnit - Parallel testing helps to reduce time consumption while executing a test. Deep dive into the concept of Specflow Parallel Execution in NUnit.

NUnit certification -

You can also check out the LambdaTest Certification to enhance your learning in Selenium Automation Testing using the NUnit framework.

YouTube

Watch this tutorial on the LambdaTest Channel to learn how to set up the NUnit framework, run tests and also execute parallel testing.

License

Nunit is lincensed under the MIT License

LambdaTest Community Discussions

Test case code snippets

General webpage functionality - Test page text justification

Description:

Page text should be left-justified.

API Testing - Check locale-based representation

Description:

Verify that the API response contains the correct resource representation based on the specified locale (e.g. en-US, fr-FR).

API Testing - Check CORS preflight

Description:

Verify that the API correctly handles CORS preflight requests and returns the correct HTTP status code and error message.

General webpage functionality - Test broken links check

Description:

Check all pages for broken links.

Downloads

Nunit can be downloaded from it’s GitHub repository - https://github.com/nunit/nunit

Package and class index

NUnit.Framework.Internal

...

Automation Testing Cloud

Run Selenium, Cypress & Appium Tests Online on
3000+ Browsers.

Know More

NUnit.Framework.Constraints.Comparers

...

HyperExecute

Accelerate Automation test execution upto 70% faster with the
next-gen testing platform.

NUnit.Framework.Attributes

...

On Premise Selenium Grid

Scale your test execution with our cloud infrastructure paired
with your firewall.

NUnitLite.Tests

Kane AI

Kane AI

World’s first end to end software testing agent.

Other similar frameworks

WinAppDriver

Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications

FlaUI

FlaUI is a .NET library which helps with automated UI testing of Windows applications (Win32, WinForms, WPF, Store Apps).

Coyote

Framework for testing concurrent code in C#

Xunit

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing .NET languages.

NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests!

Frameworks to try

Testcontainers-java

Java library supporting JUnit framework tests providing utilities that can run in Docker container

Site_prism

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for use with Capybara in automated acceptance testing.

Cucumber Common Library

A monorepo of common components - building blocks for implementing Cucumber in various languages.

Testsigma

Test automation platform for web, mobile apps and APIs

Galen

Galen is an open-source tool for testing layout and responsive design of web applications. It is also a powerfull functional testing framework. (no image, use default java)

Run Nunit scripts on 3000+ browsers online

Perform automation testing with Nunit on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now