Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages