Skip to content
Symfony 4 - REST API end to end unit testing
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
public
src
tests
.env
.env.test
.gitignore
README.md
composer.json
composer.lock
phpunit.xml.dist
symfony.lock

README.md

Testing REST API layers ie. routes, validation, controller, repositories, etc separately are tedious and repetitive. I’d argue in most cases are unnecessary as most of REST API are simply to designed perform repetitive CRUD operations.

This repository is to show the architecture I've done in the past to perform end to end test of those layers, thus reducing the need of more granular testing strategies using Symfony 4, Doctrine, and Sqlite.

https://stellalie.com/2019/07/15/symfony-4-rest-api-unit-testing-with-doctrine-and-sqlite-db/

You can’t perform that action at this time.