Testing Joomla Extensions with Codeception: Difference between revisions

From Joomla! Documentation

No edit summary
Line 2: Line 2:


== What is Codeception? ==
== What is Codeception? ==
todo
Codeception PHP Testing Framework is designed to work just out of the box. This means its installation requires minimal steps and no external dependencies preinstalled (except PHP, of course). Only one configuration step should be taken and you are ready to test your web application from an eye of actual user.


== Structure of a test ==
== Structure of a test ==

Revision as of 16:37, 29 December 2014

Note: this page is under construction

What is Codeception?

Codeception PHP Testing Framework is designed to work just out of the box. This means its installation requires minimal steps and no external dependencies preinstalled (except PHP, of course). Only one configuration step should be taken and you are ready to test your web application from an eye of actual user.

Structure of a test

todo

Running the test

Activating the debug mode

To activate the debug mode in Codeception just add the parameter --debug when you run the tests:

php codecept.phar run acceptance --debug  1stInstallTestCept.php