allure-framework / allure-framework/allure-phpunit

After updating the allure-framework / allure-phpunit:^2.0, No option is available for whether to delete previous results on rerun

Open
#78 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
66
Forks
34
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After updating the allure-framework/allure-phpunit:^2.0, No option is available for whether to delete previous results on rerun

**To Reproduce**
Steps to reproduce the behaviour:
1. run the command in your project - composer require allure-framework/allure-phpunit:^2
2. configure the config file
return [
// Path to output directory (default is build/allure-results)
'outputDirectory' => 'var/allure-results',
'deletePreviousResults' => true, //Whether to delete previous results on rerun
'ignoredAnnotations' => [
'codingStandardsIgnoreStart' => 'codingStandardsIgnoreStart',
]
];
4. now run/rerun the unit tests which is not deleting the old allure report from 'var/allure-results'

**Expected behavior**
Only latest results allure report should be available and it was configurable in previous version

**Screenshots**
Screenshot 2022-09-14 at 8 41 23 PM

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.