You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config is common PHP file that should return an array:
@@ -84,17 +84,17 @@ After running PHPUnit tests a new folder will be created (**build/allure-results
84
84
This adapter comes with a set of PHP annotations and traits allowing to use main Allure features.
85
85
86
86
### Human-readable test class or test method title
87
-
In order to add such title to any test class or [test case](https://github.com/allure-framework/allure1/wiki/Glossary#test-case) method you need to annotate it with **#[Title]** annotation:
87
+
In order to add such title to any test class or [test case](https://github.com/allure-framework/allure1/wiki/Glossary#test-case) method you need to annotate it with **#[DisplayName]** annotation:
88
88
```php
89
89
namespace Example\Tests;
90
90
91
91
use PHPUnit\Framework\TestCase;
92
-
use Qameta\Allure\Attribute\Title;
92
+
use Qameta\Allure\Attribute\DisplayName;
93
93
94
-
#[Title("Human-readable test class title")]
94
+
#[DisplayName("Human-readable test class title")]
95
95
class SomeTest extends TestCase
96
96
{
97
-
#[Title("Human-readable test method title")]
97
+
#[DisplayName("Human-readable test method title")]
98
98
public function testCaseMethod(): void
99
99
{
100
100
//Some implementation here...
@@ -251,7 +251,7 @@ class SomeTest extends TestCase
0 commit comments