GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • CODECEPTION_
  • QuickStart
  • Docs
  • Introduction
  • Getting Started
  • Acceptance Tests
  • Functional Tests
  • Unit Tests
  • Debugging
  • Modules And Helpers
  • Reusing Test Code
  • Advanced Usage
  • BDD
  • Customization

This view

  • Original page
  • New address

GeezerVison is showing codeception.com β€” Codeception Installation

πŸ‡ΊπŸ‡¦ Help Ukraine!

Installation

Requirements

PHP 5.6+ CURL enabled

Follow QuickStart Guide to Install and execute your first test in 6 easy steps.

QuickStart Guide β†’

Composer (recommended)

To install via Composer, run this in your project's root:

composer require "codeception/codeception" --dev

From now on Codeception (with installed PHPUnit) can be run as:

php vendor/bin/codecept

Initialize your testing environment with

php vendor/bin/codecept bootstrap

Phar

Download Codeception v5 Phar Executable for PHP 8.0+

Download
wget https://codeception.com/php80/codecept.phardownload 

Execute it as php codecept.phar

Download Codeception v4 Phar for PHP 7.2 - 8.2

Download
wget https://codeception.com/codecept.phardownload 

Execute it as php codecept.phar

Download Codeception v4 Phar for PHP 5.6 - 7.1

Download
wget https://codeception.com/php56/codecept.phardownload 

Execute it as php codecept.phar

Install Phar Globally

sudo curl -LsS https://codeception.com/php80/codecept.phar -o /usr/local/bin/codecept
sudo chmod a+x /usr/local/bin/codecept

Execute it as codecept


Git

Alternative installation method for bugfixing, contributions and hacking

Clone from GitHub:

git clone [email protected]:Codeception/Codeception.git && cd Codeception

Install dependencies with Composer

composer install

Execute bootstrap, specifying path to your directory.

php codecept bootstrap /path/to/demo/project

To run tests use -c option for specifing path.

php codecept run -c /path/to/demo/project

Don't forget to send Pull Requests!

❀️ Support us on OpenCollective!
Follow @Codeception
You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.