Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dundee/testing-showcase


https://github.com/dundee/testing-showcase

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## Installation ##

Database can be created using:

cd data
sqlite3 -init ../app/models/db.sql sqlite3.db
chmod 777 sqlite3.db
chmod 777 .

## Running tests ##

### Unit & integration tests ###

Install PHPUnit:

pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit
pear install phpunit/PHPUnit_Selenium

Run unit & integration tests:

cd tests
phpunit ./app

### Selenium tests ###

Download Selenium server (JAR):

http://selenium.googlecode.com/files/selenium-server-standalone-2.20.0.jar

Run Selenium server:

java -jar selenium-server-standalone.jar

Run selenium tests:

cd tests
phpunit ./selenium