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
These libraries make XCTAssertEquals message's for complex structures to be very clear, for example:
failed - A state change does not match expectation:
ObjectDetectionState(
image: nil,
- previewState: .image(.camera),
+ previewState: .live,
focusPoint: nil.
)
(Expected: -, Actual: +)
Instead of:
XCTAssertEqual failed: (ObjectDetectionState(image: nil, previewState: SearchMode.DetectionsTrackerState.live, focusPoint: nil)) is not matching (ObjectDetectionState(image: nil, previewState: SearchMode.DetectionsTrackerState..image(.camera), focusPoint: nil))
In case of structures with >= 10 properties it become completely impossible to find the change without using other tools.
It would be nice if you would incorporate this libraries or made some changes to output of XCTAssert result messages.
Would you like to consider such options please?
The text was updated successfully, but these errors were encountered:
There is a nice library
That uses custom dump
These libraries make XCTAssertEquals message's for complex structures to be very clear, for example:
Instead of:
In case of structures with >= 10 properties it become completely impossible to find the change without using other tools.
It would be nice if you would incorporate this libraries or made some changes to output of XCTAssert result messages.
Would you like to consider such options please?
The text was updated successfully, but these errors were encountered: