From 220e6dc42da35e96f13148a439364f2c92596557 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Thu, 14 Nov 2013 11:05:09 -0500 Subject: [PATCH] Added readme about tests. --- apps/basic/tests/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apps/basic/tests/README.md diff --git a/apps/basic/tests/README.md b/apps/basic/tests/README.md new file mode 100644 index 0000000..bb4f22e --- /dev/null +++ b/apps/basic/tests/README.md @@ -0,0 +1,15 @@ +This folder contains various tests for the basic application. +These tests are developed with [Codeception PHP Testing Framework](http://codeception.com/). + +To run the tests, follow these steps: + +1. [Install Codeception](http://codeception.com/quickstart) if you do not have it yet. +2. Create test configuration files based on your environment: + - Copy `acceptance.suite.dist.yml` to `acceptance.suite.yml` and customize it; + - Copy `functional.suite.dist.yml` to `functional.suite.yml` and customize it; + - Copy `unit.suite.dist.yml` to `unit.suite.yml` and customize it. +3. Switch to the parent folder and run tests: + +``` +php codecept.phar run +```