pytest icon
pytest icon

pytest

 2 likes

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing.

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

Updated

  • Updated Nov 2026

Releases

  • 5 releases last year5 last year

Platforms

  • Windows
  • Mac
  • Linux
  • Python
2likes
0articles
Save

Features

No features, maybe you want to suggest one?

Highlights All activities

pytest News & Activities

Recent activities

  • Orcraft icon
    GMCoreAI added pytest as alternative to Orcraft
  • Hamze Zare reviewed pytest  

    We use pytest with pytest-asyncio for the async FastAPI backends of four of our products, and in CI it runs on every push for our manufacturing app. Fixtures are the part we lean on most: a temporary blob directory or a throwaway database per test is a few lines, and tmp_path cleans up after itself. Plain assert with readable diffs means failures usually explain themselves. The one thing to watch is async fixture scope with pytest-asyncio, which needs explicit configuration, and a CI run once...

  • Hamze Zare liked pytest
  • Anton Kylikov liked pytest
  • Xen Master added pytest
  • nose2 icon
    Xen Master added pytest as alternative to nose2

pytest information

AlternativeTo Category

Development

GitHub repository

  •  14,686 Stars
  •  3,634 Forks
  •  951 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all

Our users have written 1 comment or review about pytest, and it has gotten 2 likes.

pytest was added to AlternativeTo by Xen Master on and this page was last updated .

Comments and Reviews

   
Hamze Zare
0
Founder at fanpino

We use pytest with pytest-asyncio for the async FastAPI backends of four of our products, and in CI it runs on every push for our manufacturing app. Fixtures are the part we lean on most: a temporary blob directory or a throwaway database per test is a few lines, and tmp_path cleans up after itself. Plain assert with readable diffs means failures usually explain themselves. The one thing to watch is async fixture scope with pytest-asyncio, which needs explicit configuration, and a CI run once failed for us because a test depended on a directory that only existed locally.

Featured in Lists

Xenmaster's 2026 Back-End Web Development Catalog

This list is an update to the list I created seven years ago https://alternativeto.net/lists/8010/back-end-web-development/ which focused on the server-side aspect of web applications. The web and development has changed a lot since then and rather than re-write history, decided to create a new list based on current patters and shifts in enterprise environments. These details are based on both what I've seen in the professional world as well as for hobbyists and web development enthusiasts who run their own projects. The general pattern for back-end development will cover three main points for each function: Self Hosted Option Third-Party Service Option AWS Option I also cover any GUI interfaces available for folks who don't want to interact with these services using a terminal. In addition to consulting the documentation for each of the tools below, I'd like to shout out the following projects which also played a big part in informing the overall structure of this list: Jeff Delaney's 100 Second Videos: https://www.youtube.com/@Fireship Kamran Ahmed's Roadmaps: https://roadmap.sh Stack Overflow's Developer Survey: https://survey.stackoverflow.co/2025/ The beginning of this list will cover some common languages used to build server-based APIs for web applications, including Python, Javascript, C#, and Go. Honorable mentions, some of which were from my original list, include the following: Rails with Ruby: one of the best developer experiences but counterbalanced by terrible performance from a speed and efficiency perspective. This framework is still really popular in India. Spring Boot with Java: A very common enterprise-based application framework and particularly popular in China. But it requires Java, which I wouldn't wish on anyone. Laravel with PHP: PHP gets a lot of hate, but I used it back 20 years ago and am still fond if it. PHP is generally useful for Wordpress-based sites too. Has performance issues though since it is an interpreted language. Phoenix with Elixir: Also a great developer experience and is very popular on the Stack Overflow survey. Only reason I can't recommend is because you will be learning Elixir just to use Phoenix because it isn't a language really used for anything else mainstream. Note that I don't plan on covering anything AI related for the development process. Of Generative AI, wickedest of technological inventions, I shall neither speak nor give direction. Update: 10-11-2026: The Deno team has announced they will no longer maintain their runtme after October 2027: https://deno.com/blog/cloudflare. I'll be removing all the references to this ecosystem since I don't want to encourage folks to buy into something that will be unsupported a year from now.
By Xen Master87 appsUpdated

Official Links

What is pytest?

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing.