Skip to content
Dev Tools Library

pytest

Python's de facto standard test framework.

LibraryOpen source

Test framework with simple syntax (plain asserts), powerful fixtures and a large plugin ecosystem.

When to use

To test any Python project, from scripts to large applications.

When to avoid

Rarely; only if the project requires the standard library's unittest by constraint.

From the same area, with a close purpose.

  • Established JavaScript testing framework.

    FrameworkOpen source★ 45.5K
  • Flexible test framework for Node.js and browsers.

    LibraryOpen source★ 22.9K
  • Tests components the way users use them, not by internal details.

    LibraryOpen source★ 19.7K
  • Vite-native test runner, Jest-compatible.

    FrameworkOpen source★ 17.3K