https://github.com/zyab1ik/allure-codecept-starter
Example of using Allure php adapter with codeception 5
https://github.com/zyab1ik/allure-codecept-starter
allure-report codeception php81 php82 testops
Last synced: about 2 months ago
JSON representation
Example of using Allure php adapter with codeception 5
- Host: GitHub
- URL: https://github.com/zyab1ik/allure-codecept-starter
- Owner: zyab1ik
- Created: 2023-01-19T15:54:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T18:11:54.000Z (3 months ago)
- Last Synced: 2025-02-04T19:24:01.222Z (3 months ago)
- Topics: allure-report, codeception, php81, php82, testops
- Language: PHP
- Homepage: https://zyab1ik.github.io/LearnCodeceptionProject/
- Size: 3.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
This is a simple project to show how to use the [Allure codeception](https://github.com/allure-framework/allure-php-commons2/releases/tag/v2.2.0) extension with [Codeception 5](https://codeception.com/07-28-2022/codeception-5.html)# How to use
#### Preparation:
1. Install composer and run `composer install` in the root directory of this project.
2. Download and install [Chrome browser & chromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) and put it in the root directory of this project.
3. Run chromeDriver with `./chromedriver --url-base=/wd/hub` in the root directory of this project.#### Run:
1. Run all tests: `composer codecept-clean && composer codecept-run`
2. Run Acceptance tests: `composer codecept-clean && composer codecept-run acceptance`
3. Run Manual tests: `composer codecept-clean && composer codecept-run manual`
4. Run Unit tests: `composer codecept-clean && composer codecept-run unit`
5. Run Api tests: `composer codecept-clean && composer codecept-run api`##### Report:
Report will be generated in the `tests/_output` directory.
You can download the report from the `tests/_output` directory and open it in your allure report instance. Example,
[free version of allure](https://zyab1ik.github.io/codeception-allure-integration)The report from **Allure TestOps** should look like this (one of the test case is failed):
Also, you can find example of manual test case in the `tests/acceptance/ManualTestCest.php` file.
It is a simple test cases with a few steps which realised "test case as a code" approach.
Manual tests:

Manual test case in progress:

Acceptance tests:

Api tests:
Thanks for reading!