davidjeddy / codeception-hello-module
hello module for codeception
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 3
Type:module
Requires
- php: ^7
- codeception/codeception: ~2
This package is auto-updated.
Last update: 2024-11-18 16:12:10 UTC
README
Boilerplate CodeCeption Module
Badges
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'scomposer.json
, then runcomposer update
.
- OR add
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