Sign inSign up

shouldbee/codecept

By shouldbee

Updated almost 11 years ago

Codeception is a BDD-style testing framework.

Image
4

4.1K

shouldbee/codecept repository overview

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.

Tag summary

Content type

Image

Digest

sha256:4c8c2e339

Size

107.1 MB

Last updated

almost 11 years ago

docker pull shouldbee/codecept