> For the complete documentation index, see [llms.txt](https://ultimatewebsolutions.gitbook.io/qa-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ultimatewebsolutions.gitbook.io/qa-knowledge-base/api-testing-with-python/what-is-pytest.md).

# What is Pytest?

Pytest is a lightweight and powerful Python testing framework that allows us to write, organize, and execute automated tests.&#x20;

It provides features such as fixtures, parametrization, assertions, markers, and plugins, which make it suitable for unit, API, integration, and end-to-end testing.
