https://github.com/davidjeddy/codeception-hello-module
Example Codeception based on Jordan Eldredge's article located at https://jordaneldredge.com/blog/writing-a-custom-codeception-module/
https://github.com/davidjeddy/codeception-hello-module
Last synced: 3 months ago
JSON representation
Example Codeception based on Jordan Eldredge's article located at https://jordaneldredge.com/blog/writing-a-custom-codeception-module/
- Host: GitHub
- URL: https://github.com/davidjeddy/codeception-hello-module
- Owner: davidjeddy
- Created: 2017-05-18T21:54:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T12:39:31.000Z (about 2 years ago)
- Last Synced: 2025-01-16T11:32:17.557Z (5 months ago)
- Language: PHP
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# codeception-hello-module
Boilerplate CodeCeption Module
# Badges
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)
[](https://packagist.org/packages/davidjeddy/codeception-hello-module)[](https://insight.sensiolabs.com/projects/847f7ced-982c-4b03-981f-a06bf11e2303)
# REQUIREMENTS
PHP ^5.6Composer ^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/](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```PHP
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