PHPackages                             huitiemesens/functional-test-generator - 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. huitiemesens/functional-test-generator

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

huitiemesens/functional-test-generator
======================================

Generate skeleton functional test for symfony2 bundle

0.5(10y ago)2923[1 PRs](https://github.com/huitiemesens/functionnal-test-generator/pulls)MITPHPPHP &gt;=5.3.3

Since Jan 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/huitiemesens/functionnal-test-generator)[ Packagist](https://packagist.org/packages/huitiemesens/functional-test-generator)[ RSS](/packages/huitiemesens-functional-test-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Functional test Generator Bundle
================================

[](#functional-test-generator-bundle)

[![Build Status](https://camo.githubusercontent.com/cda0654400c1aad0eb29a7bd44a9b106628d0e8c7aec64e9e2391c8a4a73ba2c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6875697469656d6573656e732f66756e6374696f6e6e616c2d746573742d67656e657261746f722e737667)](https://secure.travis-ci.org/#!/huitiemesens/functionnal-test-generator.svg)[![SensioLabsInsight](https://camo.githubusercontent.com/28d1590409345900fadef47b9d0cc14c1846c039a085a87a33aa1222f423cfd4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64333263386437662d323336362d343336632d393166652d3966313430333131353461352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/d32c8d7f-2366-436c-91fe-9f14031154a5)

**Lead Developer** : [@huitiemesens](https://github.com/huitiemesens)

function-generate-bundle allows you to easily generate skeleton for your functional tests.

**Currently supported :**

- **Authentification** :
    - You can add authentication to your tests to get access to secured routes. (Check step 6 below)
    - This bundle require ["liip/functional-test-bundle](https://packagist.org/packages/liip/functional-test-bundle)" to provide authenticated client
- **Fixtures** : This bundle require
    - You can load fixtures inside your tests (check step 5 below)
    - ["liip/functional-test-bundle](https://packagist.org/packages/liip/functional-test-bundle)" to provide authenticated client
- **Route** : Any routes that fits the Bundle:Controller:actionName format

**Future releases :** (feel free to PR if you want to help)

- **Route** : default variable for routes
- **POST Form** : Generate form based on annotations for given route
- **More Basic Tests** : Currently the skeleton generates tests with isSuccessful() asset only. I'd like to propose more options to get more basic tests.

Installation
============

[](#installation)

---

1. Download via composer the bundle

    ```
    composer require huitiemesens/functionalTestGeneratorBundle

    ```
2. Add the bundle to your AppKernel.php under your dev/test environnement

    ```
    new huitiemesens\FunctionalTestGeneratorBundle\FunctionalTestGeneratorBundle(),

    ```
3. call the command from your console. Example to generate all tests for controller inside your blogBundle :

    ```
    php app/console tests:generate acme:BlogBundle

    ```
4. Confirm for each controller inside BlogBundle to generate tests.
5. You can add fixtures to your tests. Go to your freshly SetUpFunctionalTest.php ( inside newly created Tests yourBundle ) and go to executesFixtures() function. You can add you declared fixtures inside the getFixtures-&gt;() line 192. Array is expected.
6. An authentication credentials is expected: Put unit\_test\_password and unit\_test\_email values in your parameters.yml to allow authentication to your tests.

License
-------

[](#license)

This bundle is available under the [MIT license](LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3777d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eba6ae6fa4e203e423b4e4161ede7075ab3c2c5b431c547888f0205fee820bf1?d=identicon)[huitiemesens](/maintainers/huitiemesens)

---

Top Contributors

[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (1 commits)")

---

Tags

phpunitgeneratorsymfony2 bundlefunctional test

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huitiemesens-functional-test-generator/health.svg)

```
[![Health](https://phpackages.com/badges/huitiemesens-functional-test-generator/health.svg)](https://phpackages.com/packages/huitiemesens-functional-test-generator)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M567](/packages/symfony-maker-bundle)[lchrusciel/api-test-case

Perfect PHPUnit TestCase for JSON/XML API TDD with Symfony.

4115.5M63](/packages/lchrusciel-api-test-case)[facile-it/paraunit

paraunit

146721.6k11](/packages/facile-it-paraunit)[lmc/steward

Steward - makes Selenium WebDriver + PHPUnit testing easy and robust

222163.1k1](/packages/lmc-steward)[nimut/phpunit-merger

Merge multiple PHPUnit reports into one file

501.7M7](/packages/nimut-phpunit-merger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
