Dockerized instant acceptance testing for any website with Codeception
PHP Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs 📝 trigger Jul 7, 2016
tests refactored tests Sep 21, 2017
.gitignore refactored tests Sep 21, 2017
.gitlab-ci.yml updated testing Sep 21, 2017
Makefile updated build Oct 18, 2016
Makefile.base reverted compose 1.6 support Jul 7, 2016
README.md refactored tests Sep 21, 2017
codeception.yml initial commit May 30, 2016
docker-compose.yml pass limit to container Oct 22, 2016

README.md

Acception

Dockerized instant acceptance testing for any website with Codeception

Requirements

  • docker-compose >= 1.7.0

Quick Start

Run the tests

docker-compose run --rm codecept run -d acceptance example

See tests/_output for test results.

Setup

Configure base URL in tests/acceptance.suite.yml.

modules:
    config:
        WebDriver:
            url: http://my-domain.com/

Usage

Enter the tester container and open VNC connections Firefox and Chrome

make open-vnc bash

Create Cepts to tests/acceptance/project.

$ codecept generate:cept acceptance project/Products

Edit the newly generated file, ie.

$I->amOnPage('products.php');
$I->see('Products', 'h1');

And run the tests

$ codecept run acceptance project

For more information how to use Codeception, run codecept --help or visit their documentation.

Tips & tricks

Resources


dmstr logo Built by dmstr