Actions

Difference between revisions of "Proposals/Done/Acceptance testing"

From Mahara Wiki

< Proposals‎ | Done
Line 6: Line 6:
  
 
* Requirements
 
* Requirements
We need to set up a test environment
 
 
** PHP 5.3+
 
** PHP 5.3+
 
 
** A standalone web server. If you are using PHP 4+, you can run the built-in PHP server insteads.
 
** 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).
 
** Selenium Server (optional).
 +
* Instructions to run a test
 +
# Check out the current mahara code
 +
git clone git://gitorious.org/mahara/mahara.git

Revision as of 14:35, 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
    • PHP 5.3+
    • A standalone web server. If you are using PHP 4+, you can run the built-in PHP server insteads.
    • Selenium Server (optional).
  • Instructions to run a test
  1. Check out the current mahara code
git clone git://gitorious.org/mahara/mahara.git