Skip to content
/ aglet Public

Aglet - Ready-to-use Automated Testing Tool for Behaviour Driven Development

License

Notifications You must be signed in to change notification settings

artemdwo/aglet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Status Code Climate Test Coverage

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

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

# rake -T

Run particular Rake task

Run RAKE_TASK

# rake cuke:[RAKE_TASK]

RAKE_TASK available from:

  • $ rake -T
  • config/cucumber.yml

Example: @smoke suite

Run smoke predefined suite

# rake cuke:smoke

Use 'specific' Rake task to run tests by @TAG

Run suite that will be filtered by @tag

# rake cuke:specific TAGS=@tag

Additional parameters

To run tests under specific browser

# ... BROWSER=browser_alias

browser_alias:

  • selenium_chrome for Google Chrome
  • selenium_firefox for Firefoz

To run tests against specific environment

# ... CONFIG=environment_alias

See config/config.yml, for example default_env, environment_name

Reporting

Test reports in JSON format:

# ... JSON_OUTPUT=cucumber.json

Test reports in JUNIT format:

# ... JUNIT_OUTPUT=results/