Skip to content

circle8z/CodeceptionGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%