Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/seanhamlin/straitstimes-tests


https://github.com/seanhamlin/straitstimes-tests

Last synced: 12 days ago
JSON representation

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
```