Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artemdwo/aglet
Aglet - Ready-to-use Automated Testing Tool for Behaviour Driven Development
https://github.com/artemdwo/aglet
bdd-framework behavior-driven-development capybara cucumber ruby selenium-webdriver test-automation test-framework
Last synced: 23 days ago
JSON representation
Aglet - Ready-to-use Automated Testing Tool for Behaviour Driven Development
- Host: GitHub
- URL: https://github.com/artemdwo/aglet
- Owner: artemdwo
- License: mit
- Created: 2014-07-03T10:01:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-02T00:03:06.000Z (over 7 years ago)
- Last Synced: 2023-03-17T19:30:50.962Z (over 1 year ago)
- Topics: bdd-framework, behavior-driven-development, capybara, cucumber, ruby, selenium-webdriver, test-automation, test-framework
- Language: Ruby
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Dependency Status](https://gemnasium.com/artemdwo/aglet.svg)](https://gemnasium.com/artemdwo/aglet)
[![Code Climate](https://codeclimate.com/github/artemdwo/aglet/badges/gpa.svg)](https://codeclimate.com/github/artemdwo/aglet)
[![Test Coverage](https://codeclimate.com/github/artemdwo/aglet/badges/coverage.svg)](https://codeclimate.com/github/artemdwo/aglet)# Aglet
**Aglet** is Cucumber-based test automation framework [kind of all-in-one]
## Audience
**Aglet** especially for you, if you're:- interesting in quality of your project
- looking for something simple to follow BDD approach
- not going to create testing tool from scratch
## How to start?
Grab a copy
```bash
git clone https://github.com/artemdwo/aglet.git
```
## How to run ?Ensure you have following installed:
- **Ruby** _2.2.0+_ (use `rvm`)
- **Bundler** _latest_ (`gem install bundler`)
- **Selenium WebDriver** _latest_ (http://docs.seleniumhq.org/download/)
- **Chromedriver** _latest_ - to run Google Chrome (`$ brew install chromedriver`)
- **Geckodriver** _latest_ - to run Firefox (`$ brew install geckodriver`)### List of available Rake Tasks
Check what's already available
```bash
# rake -T
```
### Run particular Rake task
Run `RAKE_TASK`
```bash
# rake cuke:[RAKE_TASK]
```**RAKE_TASK** available from:
- `$ rake -T`
- config/cucumber.yml#### Example: @smoke suite
Run `smoke` predefined suite
```bash
# rake cuke:smoke
```
#### Use 'specific' Rake task to run tests by @TAG
Run suite that will be filtered by `@tag`
```bash
# rake cuke:specific TAGS=@tag
```
### Additional parameters
To run tests under specific browser```bash
# ... BROWSER=browser_alias
```**browser_alias**:
- _selenium_chrome_ for Google Chrome
- _selenium_firefox_ for FirefozTo run tests against specific environment
```bash
# ... CONFIG=environment_alias
```See config/config.yml, for example _default_env_, _environment_name_
### Reporting
Test reports in JSON format:```bash
# ... JSON_OUTPUT=cucumber.json
```Test reports in JUNIT format:
```bash
# ... JUNIT_OUTPUT=results/
```