Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanhamlin/straitstimes-tests
https://github.com/seanhamlin/straitstimes-tests
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/seanhamlin/straitstimes-tests
- Owner: seanhamlin
- Created: 2015-12-23T03:37:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T00:28:21.000Z (almost 9 years ago)
- Last Synced: 2024-11-07T22:06:29.266Z (2 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Example automated tests for http://www.straitstimes.com/ built using:
* behat
* selenium# How to install
## Run composer
```
composer install
```## Download selenium
```
wget "http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar"
```## Run selenium
```
java -jar selenium-server-standalone-2.48.2.jar &
```## Create local behat config file
```
cp behat.default.yml behat.yml
```# Run behat
```
bin/behat --config=behat/behat.yml --verbose --strict --stop-on-failure
```## Extra for experts
Find all contexts you can use
```
bin/behat --config=behat/behat.yml -dl
```Run again the UAT environment
```
bin/behat --config=behat/behat.yml --verbose --strict --stop-on-failure --profile=uat
```