Skip to content

shouldbee/docker-codecept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-codeception

Codeception is a BDD-style testing framework. This is a docker image that eases setup.

About Codeception

Codeception is a modern full-stack testing framework for PHP. Inspired by BDD, it provides you an absolutely new way of writing acceptance, functional and even unit tests. Powered by PHPUnit.

From: codeception/codeception

Install

This docker image is available as an automated build on the docker registry hub, so using it is as simple as running:

$ docker run shouldbee/codecept

To further ease running, it's recommended to set up a much shorter function so that you can easily execute it as just codecept:

$ codecept () {
  docker run -it --rm --net host -v `pwd`:/wd -w /wd shouldbee/codecept $@
}

This will create a temporary function. In order to make it persist reboots, you can append this exact line to your ~/.bashrc (or similar) like this:

$ declare -f codecept >> ~/.bashrc

Usage

Usage from codeception/codeception

If you successfully installed Codeception, run this command:

codecept bootstrap

this will create a default directory structure and default test suites

See official site for more information.

About

Dockerfile for Codeception; BDD-style testing framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages