PHPackages                             litvinab/rest-api-test - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. litvinab/rest-api-test

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

litvinab/rest-api-test
======================

This symfony bundle is made to simplify testing of your rest API. It can be useful in running of functional data fixtures based tests and acceptance (Behat) tests. It simplifies automatic tests development by provided test cases classes and commands

v1.2.1(6y ago)25.1kPHP

Since May 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/litvinab/rest-api-test)[ Packagist](https://packagist.org/packages/litvinab/rest-api-test)[ Docs](https://github.com/litvinab/rest-api-test)[ RSS](/packages/litvinab-rest-api-test/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

RestAPITest
===========

[](#restapitest)

This symfony bundle is made to simplify testing of your rest API.

It can be useful for functional tests based on data fixtures and for acceptance tests.

Also current bundle provides some aliases of doctrine commands. It was made to prevent copy-paste of the same commands in your CI (for example, in Makefile, in setup of your tests, etc.)

**Contents**

- [Commands](https://github.com/litvinab/rest-api-test#commands);
- [Functional Data Fixtures Based Tests](https://github.com/litvinab/rest-api-test#functional-data-fixtures-based-tests);
- [Acceptance (Behat) Tests](https://github.com/litvinab/rest-api-test#acceptance-behat-tests);

Installation
------------

[](#installation)

Install via Composer:

```
composer require litvinab/rest-api-test
```

Enable Bundle
-------------

[](#enable-bundle)

In your `app/AppKernel.php` file, add the following to your list of dev bundles:

```
