Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jul 7, 2016
Sep 21, 2017
Oct 18, 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

About

Dockerized instant acceptance testing for any website with Codeception

Resources

You can’t perform that action at this time.