Skip to content

davidjeddy/codeception-hello-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeception-hello-module

Boilerplate CodeCeption Module

Badges

Latest Stable Version Total Downloads Lahello Unstable Version License Monthly Downloads Daily Downloads composer.lock

SensioLabsInsight

REQUIREMENTS

PHP ^5.6

Composer ^1.x

Codeception ^2.3

Credit

The majority of this package is based off an article by Jordan Eldredge:

https://jordaneldredge.com/blog/writing-a-custom-codeception-module/

INSTALLATION

  • cd {project root}
  • Run composer require davidjeddy/codeception-hello-module in terminal
    • OR add "davidjeddy/codeception-hello-module": "dev-master@dev" to your project's composer.json, then run composer update.

USAGE

Add the module to the suite configuration

class_name: Acceptancehelloer
modules:
    enabled:
        ...
        - Hello
        ...
  • Rebuild codeception, typically codeception build
  • Add $I->greet('NAME'); to a Cept/Cest test class
  • Run test suite
  • Enjoy

About

Example Codeception based on Jordan Eldredge's article located at https://jordaneldredge.com/blog/writing-a-custom-codeception-module/

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages