Sha256: b8c9c8054b7342677064ecdbc15d477d629536ef800e66b6877126695cf5339e

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# TestGen

A gem that contains generators that create things testers need.

Currently it only generates a cucumber project.  You can do this by executing:

    testgen project <project_name>
    
This command will create a project in the <em>project_name</em> directory with the files needed to begin
developing cucumber features.  There are options that can be provided to have the project configure to use different gems.  Here are a few:

## Web testing

If you are testing a web application, <em>testgen</em> will by default setup the project to use the PageObject gem
with Watir.

    testgen project <project_name>
    
## Android testing

If you want to setup project to use the Appium library

    testgen project <project_name> --with-appium

## Native Windows testing

If you are testing a native windows application, <em>testgen</em> can setup the project to use the Mohawk gem.

    testgen project <project_name> --with-mohawk


## Moving page-objects or screen-objects to the lib directory

There is another option available with will create the page or screen directory in a base directoy named lib.  It will also setup the project so these files get loaded the same way they would if the directory was in the support directory.  Here's an example of creating a project for web testing using the lib option:

    testgen project <project_name> --pageobject-driver=watir --with-lib




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testgen-1.0 Readme.md