2017 © Pedro Peláez
 

library codeception-yii2-populate

This module restore the dump before each test for your yii2 acceptance test

image

bscheshirwork/codeception-yii2-populate

This module restore the dump before each test for your yii2 acceptance test

  • Monday, January 23, 2017
  • by bscheshirwork
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

codeception-yii2-populate

This module restore the dump before each test for your yii2 acceptance test, (*1)

Note: Need more? See bscheshirwork/codeception-db-yii2-config, (*2)

Example backend/tests/acceptance.suite.yml, (*3)

class_name: AcceptanceTester
modules:
    enabled:
# See docker-codeception-run/docker-compose.yml: "ports" of service "nginx" is null; the selenium service named "firefox"
# See nginx-conf/nginx.conf: listen 80 for frontend; listen 8080 for backend
        - WebDriver:
            url: http://nginx:8080/
            host: firefox
            port: 4444
            browser: firefox
        - Yii2:
            part:
              - email
              - ORM
              - Fixtures
        - \bscheshirwork\Codeception\Module\Yii2Populate:
            dump: ../common/tests/_data/dump.sql #relative path from "codeception.yml"

Installation

Add to you test environmentcomposer.json, (*4)

    "require": {
        "bscheshirwork/codeception-yii2-populate": "*"
    }

The Versions

23/01 2017

dev-master

9999999-dev

This module restore the dump before each test for your yii2 acceptance test

  Sources   Download

MIT

The Requires

 

by Avatar bscheshir

yii2 acceptance testing dump codeception

23/01 2017

v1.0

1.0.0.0

This module restore the dump before each test for your yii2 acceptance test

  Sources   Download

MIT

The Requires

 

by Avatar bscheshir

yii2 acceptance testing dump codeception