Skip to content

apperclass/test-doc-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Step 1: Download the Bundle

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"

Step 2: Enable the Bundle

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(),
        );
    }
}

Step 3: Configure

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" />

Step 4: Run your tests

Run your tests (in test environment).

Step 4: View the tests doc

Use the generated test doc /app_dev.php/doc/test

About

Generate a nice doc for your functional tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors