Howitzer is a Ruby-based framework for acceptance testing.
It was originally developed for testing web applications, but you can also use it for API testing and web service testing.
The framework was built with modern patterns, techniques, and tools in automated testing. For details, please see Test Framework Design.
Howitzer alternatives and similar gems
Based on the "Formatters" category.
Alternatively, view Howitzer alternatives based on common mentions on social networks and blogs.
8.9 5.6 L5 Howitzer VS shoulda-matchersSimple one-liner tests for common Rails functionality
6.9 0.0 L5 Howitzer VS SporkA DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.
6.4 7.1 L5 Howitzer VS ArubaTest command-line applications with Cucumber-Ruby, RSpec or Minitest.
3.6 5.4 L4 Howitzer VS RRRR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Howitzer or a related project?
Ruby-based framework for acceptance testing of web applications.
The framework was built with modern patterns, techniques, and tools in automated testing in order to speed up tests development and simplify supporting.
- 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 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.
Refer to the GETTING STARTED document to start working with Howitzer.
You can also find the Rdoc documentation on Rubygems.
- Howitzer Example RSpec – an example of Howitzer based project for demo web application based on RSpec.
- Howitzer Example Cucumber – an example of Howitzer based project for demo web application based on Cucumber.
- Howitzer Example Turnip – an example of Howitzer based project for demo web application based on Turnip.
- Supported OS: Mac OS X, Linux, Windows
- Ruby 2.3+
- DevKit (For Windows only)
- PhantomJS (For poltergeist driver only)
- ChromeDriver (For chrome selenium browser, 2.29+ for headless mode)
- GeckoDriver (For firefox selenium browser)
- SafariDriver (For safari selenium browser)
- QT (For webkit driver only)
- Chrome v.59+ (For headless chrome support)
- Firefox v.56+ (For headless firefox support)
- Android SDK and Appium (For Appium driver) ## Setup To install, type
gem install howitzer
Browse to a desired directory where a new project will be created.
To generate the project with Cucumber, type:
howitzer new <PROJECT NAME> --cucumber
howitzer new <PROJECT NAME> --rspec
howitzer new <PROJECT NAME> --turnip
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/pagesfolder. For details, refer to Page Object Pattern.
- Implement emails in
- Implement scenarios:
- Debug features against to desired drivers.
- Enjoy it!
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:
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.
Please see [CONTRIBUTING.md](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.
howitzer is Copyright © 2012-2017 Roman Parashchenko and StrongQA Ltd. It is free software, and may be redistributed under the terms specified in the [LICENSE](LICENSE) file.
howitzer is maintained and funded by StrongQA, Ltd. The names and logos for StrongQA are trademarks of StrongQA, Ltd.
*Note that all licence references and agreements mentioned in the Howitzer README section above are relevant to that project's source code only.