Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require apperclass/test-doc-bundle "dev-master"Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Apperclass\TestDocBundle\ApperclassTestDocBundle(),
);
}
}Override if you need the alias for the entity manager used to write into database on test environment.
<service id="apperclass.test_doc.entity_manager" alias="doctrine.orm.entity_manager" />
Run your tests (in test environment).
Use the generated test doc /app_dev.php/doc/test