PHPackages                             alsbury/malice - 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. alsbury/malice

ActiveLibrary[Testing &amp; Quality](/categories/testing)

alsbury/malice
==============

Symfony bundle and Codeception fixtures module

0.2.1(9y ago)515.4k[1 issues](https://github.com/alsbury/malice/issues)MITPHPPHP &gt;=5.4.0

Since Feb 17Pushed 9y ago2 watchersCompare

[ Source](https://github.com/alsbury/malice)[ Packagist](https://packagist.org/packages/alsbury/malice)[ RSS](/packages/alsbury-malice/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (4)Versions (14)Used By (0)

Malice Bundle
=============

[](#malice-bundle)

Codeception module for working with Alice/Faker fixtures in conjunction with AliceBundle.

This is an early prototype. Feedback is welcome.

Installation:
=============

[](#installation)

```
composer require alsbury/malice

```

Configure Codeception Test Suites
---------------------------------

[](#configure-codeception-test-suites)

Add module to codeception test suite YAML file:

```
class_name: FunctionalTester
modules:
   enabled:
    - Symfony2:
        app_path: '../../../app'
        var_path: '../../../var'
        environment: 'test'
    - \Component\Registration\Tests\Helper\Functional
    - \Alsbury\Malice\Component\Codeception\Module\Malice:
        drop_create: true

```

Example test that loads fixtures defined in a bundle, specified by Doctrine annotations:

```
