Project

pretest

0.01
No commit activity in last 3 years
No release in over 3 years
A gem that creates a cucumber project structure
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.14.6, ~> 1.14
>= 12.0.0, ~> 12.0
>= 3.7.0, ~> 3.7

Runtime

~> 1.8.5
~> 0.10.4
>= 2.0.2, ~> 2.0
>= 1.2.1, ~> 1.2
~> 0
 Project Readme

Pretest

Pretest is a gem that helps you to start your automation projects. With pretest you can start and configure your environment for web and mobile automation projects with just a few commands.

Gem Version

Requirements

Ruby installed in your machine (we recommend ruby 32 bits version if you're using Windows, and at least Windows 7 or a newer version) and the browsers that you want to use in your web automation (except for the phantomjs, that is installed automatically if the command "pretest environment" is used).

If you're having problems with firefox, we recommend to use the version 47.0.1 (https://ftp.mozilla.org/pub/firefox/releases/) due to issues with webdriver on newer versions.

Installation

gem install pretest

How to use

For this we have some commands that can configure your environment for tests with chromedriver / phantomjs / IEDriverServer, and then its created a new folder that can be used to store others Webdriver's that you can use for your automations projects. We have commands to create a new project structure, and a new project scaffold with examples of steps / features / and pages already created, that you can use to start to learn and create your own projects.

Commands

  • pretest
  • pretest help [COMMAND]
  • pretest environment
  • pretest create project_name
  • pretest create project_name --web_scaffold
  • pretest create project_name --api
  • pretest create project_name --api_scaffold

Usage

pretest: This command is used to list all the actual commands released in pretest

pretest help [COMMAND]: This command is used to list the actual command options (example: "pretest help create")

pretest environment: This command is used to configure your environment variables, download the webdrivers that can be use in your projects and install a development tool to compile your code (just if needed).

pretest create project_name: This command is used to create a new project for web automation with all the structure already created and environment configured.

pretest create project_name --web_scaffold: This command is used to create a new project for web automation with all the structure already created and environment configured, including some steps, features and pages with examples that can be used to develop new tests cases.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Lemon-Studio/pretest.

License

The code licensed here under the GNU Affero General Public License, version 3 AGPL-3.0. GNU AGPL 3.0 License. Pretest has been developed by the LemonStudioLTDA team (Lucas Machado and Murilo Machado), as detailed in LemonStudioLTDA Website.