Example: current tests want to reach /news without and with params: /news?lang=fr and /news?lang=grd (this last one supposed to return an error)
But even with separated lines in the .json file
the reached endpoint for every test is /news and ignores parameters, I assume that the arguments are digested by flask.
And since the arguments redirect to the same endpoint, how can we handle tests aiming to an identical endpoint + method with different parameters ? This is the same question than testing an endpoint with different payloads.
Thanks for the issue.
In my opinion, the best solution is to introduce a new functionality with parameters/values in the expected set description. We will discuss about it.
Example: current tests want to reach
/news
without and with params:/news?lang=fr
and/news?lang=grd
(this last one supposed to return an error) But even with separated lines in the .json filethe reached endpoint for every test is
/news
and ignores parameters, I assume that the arguments are digested by flask.And since the arguments redirect to the same endpoint, how can we handle tests aiming to an identical endpoint + method with different parameters ? This is the same question than testing an endpoint with different payloads.