Sha256: da577e40bf935a4a316d5574e2f9360728bdee91b42e2ef187153e9e34d1324c

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

# 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 DataName
    
    or
    
    $ watir generate test DataName 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


## 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](http://opensource.org/licenses/MIT).

## TODO

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir_install-0.3.0 README.md