ProductPromotion
Logo

Ruby

made by https://0x3d.site

GitHub - strongqa/howitzer: A Ruby-based framework for acceptance testing
A Ruby-based framework for acceptance testing. Contribute to strongqa/howitzer development by creating an account on GitHub.
Visit Site

GitHub - strongqa/howitzer: A Ruby-based framework for acceptance testing

GitHub - strongqa/howitzer: A Ruby-based framework for acceptance testing

Key Benefits

  • Independent of a web application technical stack, language and architecture.
  • Fast installation and configuration of the complete testing infrastructure (takes less than 5 minutes).
  • Elegant, intuitive and powerful Ruby language underneath.
  • Possibility to choose your favorite BDD tool (Cucumber, RSpec or Turnip).
  • Integration with SauceLabs, Testingbot, BrowserStack, CrossBrowserTesting, LambdaTest cloud services.
  • Integration with MailGun, Gmail, Mailtrap email services.
  • Easy tests support based on the best patterns, techniques, principles.
  • Ability to execute tests against to both browserless driver and actual browsers with no changes in your tests.

Documentation

Refer to the GETTING STARTED document to start working with Howitzer.

You can also find the Rdoc documentation on Rubygems.

Related Products

Requirements

  • Supported OS: Mac OS X, Linux, Windows
  • Ruby 2.6.8+
  • DevKit (For Windows only)
  • ChromeDriver (For chrome selenium browser, 2.29+ for headless mode)
  • GeckoDriver (For firefox selenium browser)
  • SafariDriver (For safari selenium browser)
  • Chrome v.59+ (For headless chrome support)
  • Firefox v.56+ (For headless firefox support)

Setup

To install, type

gem install howitzer

Usage

Browse to a desired directory where a new project will be created.

To generate the project with Cucumber, type:

howitzer new <PROJECT NAME> --cucumber

With Rspec:

howitzer new <PROJECT NAME> --rspec

With Turnip:

howitzer new <PROJECT NAME> --turnip

Configuration

Learn and specify correct default settings in the config/default.yml file. For more details, please refer to the original sexy_settings gem.

Test Implementation Workflow

  • Prepare BDD feature with scenarios
  • Mark feature/scenarios with priority tags.
  • Implement prerequisites generation (optional):
    • implement factories
    • implement models
  • Implement appropriate pages in the web/pages folder. For details, refer to Page Object Pattern.
  • Implement emails in emails folder (optional).
  • Implement scenarios:
    • For Cucumber:
      1. Read and learn Cucumber Best Practices
      2. Implement step definitions in the features/step_definitions folder.
    • For Rspec: Use DSL provided by Capybara to create descriptive acceptance tests.
    • For Turnip: Implement step definitions in the spec/steps folder.
  • Debug features against to desired drivers.
  • Enjoy it!

Rake Tasks

Rake was originally created to handle software build processes, but the combination of convenience and flexibility that it provides has made it the standard method of job automation for Ruby projects.

You can get a list of all available tasks by typing the following command:

rake -T

Upgrading Howitzer

Before attempting to upgrade an existing project, you should be sure you have a good reason to upgrade. You need to balance several factors: the need for new features, the increasing difficulty of finding support for old code, and your available time and skills, to name a few.

From version v1.1.0 howitzer provides howitzer update command. After updating the Howitzer version in the Gemfile, run following commands:

bundle update howitzer
bundle exec howitzer update

This will help you with the creation of new files and changes of old files in an interactive session.

Don't forget to review the difference, to see if there were any unexpected changes and merge them. It is easy if your project is under revision control systems like Git.

Additional Information

Contributing

Please see CONTRIBUTING.md.

howitzer was originally designed by Roman Parashchenko and is now maintained by StrongQA team. You can find list of contributors here open source community.

License

howitzer is Copyright © 2012-2021 Roman Parashchenko and StrongQA LLC. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About StrongQA

StrongQA

howitzer is maintained and funded by StrongQA, LLC. The names and logos for StrongQA are trademarks of StrongQA, LLC.

We love open source software! See our other projects or hire us to consult and develop testing solutions.

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory