Testing the API

Once your API is up and running, it’s crucial to write tests to ensure it is bug-free and to prevent future regressions. A good practice is to follow a Test-Driven Development (TDD) approach, where tests are written before the production code.

API Platform provides a set of helpful testing utilities to write unit tests, functional tests, and to create test fixtures.

# Testing Documentations

You can also help us improve the documentation of this page.

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop