File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,9 +337,9 @@ and add `failsafe.rerunFailingTestsCount` or `surefire.rerunFailingTestsCount` p
337
337
In some cases, you may need to customize the test name for BDD Scenario Outlines (for example, to insert parameters into
338
338
the test name in ReportPortal). To achieve this, you need to implement the desired customization logic in a class which
339
339
implements the ` TestNameProvider ` interface. This class should then be specified in the ` ReportIntegrationConfig ` .
340
- For example, to provide ability for test name to insert parameters, I need to do the following
340
+ For example, to provide ability for test name to insert parameters, the following steps should be performed:
341
341
342
- 1 . Create class ` ParametrizedNameProvider ` :
342
+ 1 . Create class ` ParametrizedNameProvider `
343
343
344
344
```
345
345
public class ParametrizedNameProvider implements TestNameProvider {
@@ -366,7 +366,7 @@ public class ParametrizedNameProvider implements TestNameProvider {
366
366
}
367
367
```
368
368
369
- 2 . Update integration configuration:
369
+ 2 . Update integration configuration
370
370
371
371
```
372
372
ReportIntegrationConfig.get().useTestNameTransformer(new ParametrizedNameProvider());
You can’t perform that action at this time.
0 commit comments