magari/test-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Installs: 244

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/magari/test-bundle

1.0.2 2015-01-20 10:42 UTC

This package is not auto-updated.

Last update: 2017-05-05 11:12:49 UTC


README

public under https://packagist.org/packages/magari/test-bundle

##Installation add to composer.json

  "require-dev": {
      "magari/test-bundle": "dev-master"
  }

add to AppKernel

  • $bundles[] = new h4cc\AliceFixturesBundle\h4ccAliceFixturesBundle();
  • $bundles[] = new Magari\Bundle\TestBundle\MagariTestBundle();

add to config_test.yml

h4cc_alice_fixtures:
    locale: de_DE
    schema_tool: magari_test.test_schema_tool

##Using

  • UnitTests (PHPUnitTestCase)
  • SeleniumTests (SeleniumTestCase)
  • FixtureTests & ControllerTests (WebTestCase)

put fixtures into you bundle at

  • YourBundle/Tests/Fixture/Entity
  • YoutBundle/Tests/Fixture/Relation