
Which is more popular?
Based on our record, NUnit should be more popular than pytest. It has been mentioned 17 times since March 2021.
Website, pricing, platforms and company facts side by side.
|
|
|
|
|---|---|---|
| Website | docs.pytest.org | nunit.org |
| Pricing | โ | |
| Listed in |
What each product offers, as listed by its team.


Possible disadvantages
Possible disadvantages
Walkthroughs and reviews on video.
getting started with pytest (beginner - intermediate) anthony explains #518
More videos
๐โญ๏ธ Master .NET and C# Unit Testing with NUnit and Moq Review
More videos
How often each product is chosen within a category, 0โ100% relative to the other.


Share your experience with using pytest and NUnit. For example, how are they different and which one is better?
External articles and on-site reviews we used to compare the two products.


Pytest is a widely adopted testing framework that is designed to be easy to use and extend. It helps you to write elegant tests in both small and complex Python codebases.
We have no reviews of NUnit yet. Be the first one to post
Recommendations tracked on public social media and blogs since March 2021.


Pytest is an excellent alternative to unittest. Even though it doesn't come built-in to Python itself, it is considered more pythonic than unittest. It doesn't require a TestClass, has less boilerplate code, and has a plain assert... - Source: dev.to / almost 3 years ago
For this lab exercise I had the opportunity to add unit tests to a classmate's project and experience their CI workflow. For this exercise I worked on go-go-web by kliu57. Go-Go Web is written in Python and uses the pytest testing... - Source: dev.to / about 3 years ago
This week, in a setup for a CI/CD pipeline, I added unit and integration testing using Pytest to my Python CLI and utilized pytest-cov for generating a coverage report. As always, the merged commit for changes to the repo can be found here. - Source: dev.to / about 3 years ago
F# has a bunch of testing frameworks: starting from NUnit, the more generic .Net port xUnit.net, going through FsUnit, and several others of varying levels of adoption, or ease-of-use (yes, while I love it for trivial cases, I'm looking... - Source: dev.to / about 1 year ago
In light of these changes, developers have several options moving forward. The simplest short-term solution is to lock dependencies to Fluent Assertions version 7, which remains under the Apache 2.0 license and allows free commercial... - Source: dev.to / almost 2 years ago
NUnit is user-friendly and highly extendable for your unit testing needs. - Source: dev.to / about 2 years ago
When comparing pytest and NUnit, you can also consider the following products.

Cucumber is a BDD tool for specification of application features and user scenarios in plain text.
Compare Cucumber to pytest or NUnit:


RSpec is a testing tool for the Ruby programming language born under the banner of Behavior-Driven Development featuring a rich command line program, textual descriptions of examples, and more.
Compare RSpec to pytest or NUnit:

Application and Data, Build, Test, Deploy, and Testing Frameworks
Compare PHPUnit to pytest or NUnit:
