Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/testingbot/behat-selenium-sample
Behat + Selenium Example with TestingBot
https://github.com/testingbot/behat-selenium-sample
behat selenium testingbot
Last synced: 24 days ago
JSON representation
Behat + Selenium Example with TestingBot
- Host: GitHub
- URL: https://github.com/testingbot/behat-selenium-sample
- Owner: testingbot
- Created: 2020-01-21T10:19:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T09:50:39.000Z (over 2 years ago)
- Last Synced: 2024-12-26T02:07:36.087Z (about 2 months ago)
- Topics: behat, selenium, testingbot
- Language: PHP
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behat-Selenium-Sample
TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use Behat to run tests across several browsers.*This example uses Behat 2. We also have a [Behat 3 Example](https://github.com/testingbot/behat-selenium-sample/tree/behat3)*
## Setup
1. Clone this repo:
`git clone https://github.com/testingbot/behat-selenium-sample.git`
2. Install composer:
`curl http://getcomposer.org/installer | php`
3. Install Behat and the required dependencies with composer:
`php composer.phar install`
## Configuration
Add TestingBot Key and Secret to `config/single.conf.yml`
You can find these in the [TestingBot Dashboard](https://testingbot.com/members/).## Running your tests
- To run a single test, run `php composer.phar single`
- To run parallel tests, run `php composer.phar parallel`## Further Reading
- [Behat](http://behat.org/en/latest/)
- [TestingBot Documentation](https://testingbot.com/support/getting-started/behat-mink.html)