[Feature Request] support tolerance in yaml rest test #18213
Labels
enhancement
Enhancement or improvement to existing feature or request
good first issue
Good for newcomers
Other
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe
It would be better if we can support tolerance/delta when matching a value in yaml rest test
For example, to add a delta on this match
I need to write in this way
4a92aa4
Describe the solution you'd like
I see JUnit provides this
assertEquals(double expected, double actual, double delta)
, so we probably can do similar thing in yaml rest testIn my previous example, this will be
This syntax is better to understand the real intention.
Related class to enhance is MatchAssertion.java
Related component
Other
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: