Difference between revisions of "Proposals/Done/Acceptance testing"
From Mahara Wiki
< Proposals | Done
Line 5: | Line 5: | ||
This guide will show you how to start running Behat tests on a Mahara site | This guide will show you how to start running Behat tests on a Mahara site | ||
− | *Requirements | + | * Requirements |
− | ** | + | We need to set up a test environment |
+ | ** PHP 5.3+ | ||
+ | |||
+ | ** A standalone web server. If you are using PHP 4+, you can run the built-in PHP server insteads. | ||
+ | php -S localhost:8000 | ||
+ | ** Selenium Server (optional). |
Revision as of 14:12, 19 September 2014
Introduction
Like Moodle [1], we integrate Behat, a behavioural driven development (BDD) tool for describing Mahara's features and automatically testing them.
Getting started guide
This guide will show you how to start running Behat tests on a Mahara site
- Requirements
We need to set up a test environment
- PHP 5.3+
- A standalone web server. If you are using PHP 4+, you can run the built-in PHP server insteads.
php -S localhost:8000
- Selenium Server (optional).