You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestCase should implement a compare() method that can be used to compare the results of two checks. Comparing results can be useful for the following scenarios:
Reproducing a test run (e.g. for checking if a detected issue has been fixed)
Diffing results of two tests of the same type (e.g. for comparing the APIs reaction to slighlty different API requests)
compare() should be implemented as a classmethod that gets passed two report objects. It should then do the following:
Check for differences in the issue field.
Diff the value field. Complexity for this may vary depending on the test case, since there can be optional fields and nested values.
Return a comparison object (as a dict). The object should contain a flag that indicates whether the results are a match/mismatch and the created diff.
The text was updated successfully, but these errors were encountered:
TestCase
should implement acompare()
method that can be used to compare the results of two checks. Comparing results can be useful for the following scenarios:compare()
should be implemented as a classmethod that gets passed two report objects. It should then do the following:issue
field.value
field. Complexity for this may vary depending on the test case, since there can be optional fields and nested values.The text was updated successfully, but these errors were encountered: