2017 © Pedro Peláez
 

library phpunit-webtestcase-fixture-helper

Helps to manage fixtures for test-environment in webtestcases.

image

freshp/phpunit-webtestcase-fixture-helper

Helps to manage fixtures for test-environment in webtestcases.

  • Friday, March 16, 2018
  • by freshp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 19 % Grown

The README.md

Software License Latest Stable Version Total Downloads, (*1)

phpunit webtestcase doctrine fixture helper

This package can easily setup database for tests for dev or test-environments. Uses doctrine FixtureInterface for edge to edge tests., (*2)

tasks: * drop the current database * create a new blank database for dev or test environment * migrate by forcing the doctrine schema update * load all fixtures by given FixtureInterface, (*3)

usage

  1. create a FixtureInterface like the example class example/Fixtures/DataFixtures/ORM/LoadFixtures.php
  2. write a test-class like example/Unit/Route/ExampleRouteTest.php a extend from the given ApiTestCase
  3. use static access to create the client for example in the setUpBeforeClass or the setUp method self::createClientWithDatabaseAndFixtures(new LoadFixtures());

The Versions

16/03 2018

dev-master

9999999-dev

Helps to manage fixtures for test-environment in webtestcases.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/03 2018

1.0.0

1.0.0.0

Helps to manage fixtures for test-environment in webtestcases.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/03 2018

dev-feature/refactoring

dev-feature/refactoring

Helps to manage fixtures for test-environment in webtestcases.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/03 2018

1.0.0-rc1

1.0.0.0-RC1

Helps to manage fixtures for test-environment in webtestcases.

  Sources   Download

MIT

The Requires

 

The Development Requires

14/03 2018

0.0.1

0.0.1.0

Helps to manage fixtures for test-environment in webtestcases.

  Sources   Download

MIT

The Requires

 

The Development Requires