https://github.com/dundee/testing-showcase
https://github.com/dundee/testing-showcase
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dundee/testing-showcase
- Owner: dundee
- Created: 2012-03-31T23:08:53.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-15T11:42:32.000Z (about 14 years ago)
- Last Synced: 2025-04-13T20:46:13.161Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 752 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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