0.0
No commit activity in last 3 years
No release in over 3 years
"Watir Install provides everything necessary to quickly create maintainable automated test suites in an understandable and enjoyable way."
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

~> 1.3
~> 0.19.1
 Project Readme

WatirInstall

This gem allows you to create a new directory for your project with sample templates to use to write your Watir tests. It includes a number of useful gems along with the recommended default configurations to easily create and maintain your test suite.

Installation

$ gem install watir_install

Usage

Create a new project

$ watir new project_name

or

$ watir new project_name --no_git true

Generate Test

$ watir generate test TestName

or

$ watir generate test TestName test1 test2 test3 test4

Generate Data

$ watir generate data DataName

or

$ watir generate data DataName key1 key2 key3 key4

Generate Page

$ watir generate page PageName

or

$ watir generate page PageName el1 el2 el3 el4

or

$ watir generate page PageName --url http://example.com

or

$ watir generate page PageName:DataName key1 key2 key3 key4 --form true

or

$ watir generate page PageName:DataName key1 key2 key3 key4 --form true --url http://example.com

Generate Scaffolding

$ watir generate scaffold ObjectName el1 el2 el3 el4 --url http://example.com/object

See Example Project

$ watir example

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/titusfortner/watir_install.

License

The gem is available as open source under the terms of the MIT License.

TODO

  1. Support Camel Case project names
  2. Add Watir-Scroll