You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
lkhoward edited this page Feb 23, 2016
·
10 revisions
Huzzah allows you to place your page-objects and other files under any directory you wish. You just need to tell the framework where to find them. You do so in a configuration block:
path: The location of your 'huzzah' directory. This directory does not need to be named 'huzzah'.
environment: The name of the environment that the tests will be run against. The value used here will be referenced in role ans site configuration files.
default_driver: The default browser driver. This is a named driver within the Huzzah framework (not to be confused standard browser names within Watir-WebDriver). See Defining Custom Drivers
This placement of this configuration block depends on the testing framework you are using. For example, env.rb for Cucumber or spec_helper.rb for RSpec.
If you want to dynamically set these values from the command line and also provide defaults: