Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'path_param' is displayed as a missed in cases list at coverage report when used functional call RestAssured::pathParam #88

Open
1 task
adzest opened this issue Jul 13, 2021 · 0 comments

Comments

@adzest
Copy link

adzest commented Jul 13, 2021

I'm submitting a ...

  • bug report

What is the current behavior?

specifing RestAssured.given().filter(new SwaggerCoverageRestAssured()) when used functional call of restassured method:

Map pathParam = new HashMap<String, String>(){{
   put("id", 1);
}};
pathParams.forEach(baseSpec::pathParam);

'path_param' is displayed as a missed in cases list at coverage report.

If the current behavior is a bug, please provide steps to reproduce, broken swagger specification and swagger-coverage-output:

use any spec.

What is the expected behavior?

"id" is displayeв шт report, coz it under the filter(new SwaggerCoverageRestAssured());

What is the motivation / use case for changing the behavior?

java streams are very useful and its generic approach saves time for scaling the test clients.

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

No branches or pull requests

1 participant