oconnedk / EntityTesting

Simple Symfony/ Doctrine non-destructive test base class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#EntityTestingBundle

The idea behind this Symfony bundle is to ease the testing of your Doctrine entities within a Symfony 3 project using PHPUnit functional tests. It enables you to make changes to your entity database (additions, deletions and updates) allowing you to check your entity referential integrity without any of the changes taking effect. For each PHPUnit test, the state of the database is fresh and squeaky clean.

##Requirements

Product Min Version
Symfony 3
PHP 5.5.9

##Usage

Edit composer.json as follows:

"repositories": [
    {
        ...
        "type": "vcs",
        "url": "https://github.com/oconnedk/EntityTesting"
        ...
    }
],
"require": {
    ...
    "agutils/entity-testing-bundle": "dev-master"
    ...
},

About

Simple Symfony/ Doctrine non-destructive test base class

License:MIT License


Languages

Language:PHP 100.0%