Skip to content

Add parameters from testng tags#88

Merged
baev merged 2 commits intomasterfrom
testng-parameters
Jun 28, 2017
Merged

Add parameters from testng tags#88
baev merged 2 commits intomasterfrom
testng-parameters

Conversation

@baev
Copy link
Member

@baev baev commented Jun 28, 2017

  • Sign CLA
  • Add unit tests

Andrejs Kalnačs and others added 2 commits June 28, 2017 14:31
…rt this is shown as one tests with with two runs (one rerun), but actually this is not true, as these are different tests (because they have different parameters).

In old Allure that was distinguished by test case name, so assert is made based on how it was in previous Allure
@baev baev added the work:review Work is done, waiting for review label Jun 28, 2017
@baev baev requested a review from eroshenkoam June 28, 2017 11:55
private List<Parameter> getParameters(final ITestResult testResult) {
final Stream<Parameter> tagsParameters = testResult.getTestContext()
.getCurrentXmlTest().getAllParameters().entrySet()
.stream()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why in new line?

Copy link
Member Author

@baev baev Jun 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who cares, Checkstyle/PMD are fine with that

@baev baev merged commit 8ef997e into master Jun 28, 2017
@baev baev deleted the testng-parameters branch June 28, 2017 12:30
@baev baev removed the work:review Work is done, waiting for review label Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants