pytest: helps you write better programsΒΆ

a mature full-featured Python testing tool

provides easy no-boilerplate testing

scales from simple unit to complex functional testing

integrates with other testing methods and tools:

extensive plugin and customization system:

  • all collection, reporting, running aspects are delegated to hook functions
  • customizations can be per-directory, per-project or per PyPI released plugin
  • it is easy to add command line options or customize existing behaviour
  • easy to write your own plugins