Project

testgen

0.04
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A collection of generators build things for testers using Cucumber
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 2.0.0
>= 2.13.0
>= 0.17.0
 Project Readme

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 project_name 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, testgen 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, testgen 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