Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.49 KB

File metadata and controls

45 lines (35 loc) · 1.49 KB

CodeceptionGenerator

This project provide a test code generator for Codeception.
Codeception is a modern full-stack testing framework for PHP.

Requirement

PHP >=5.4.0

Installation

  1. Install Selenium IDE add-on in Firefox.
  2. Download CodeceptionGenerator and unzip.
    If you like git:
$ git clone https://github.com/CodeceptionGenerator/CodeceptionGenerator.git

Folder Structure

CodeceptionGenerator/
├── Helper/                     ... helper methods
├── Lib/                        ... libraries
│   ├── File/                   ... file classes
│   └── Generator/              ... test code generator classes
├── input/                      ... put your selenium html files
├── output/                     ... test codes will be output here
└── generate.php                ... an execution file

How to Generate Test Codes

If you successfully installed CodeceptionGenerator, follow the steps below.

  1. Use Selenium IDE add-on and generate a html file.
  2. Put the html file in input directory.
  3. Execute the following command.
$ cd CodeceptionGenerator/
$ php generate.php

Confirm output directory. There is an acceptance test class of Codeception.

License

MIT