https://github.com/juri/xctwdiff
Highlight differences in XCTAssertEqual output
https://github.com/juri/xctwdiff
swift testing xctest
Last synced: over 1 year ago
JSON representation
Highlight differences in XCTAssertEqual output
- Host: GitHub
- URL: https://github.com/juri/xctwdiff
- Owner: juri
- License: mit
- Created: 2018-06-24T10:17:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T10:17:45.000Z (about 8 years ago)
- Last Synced: 2025-01-11T22:32:50.927Z (over 1 year ago)
- Topics: swift, testing, xctest
- Language: Swift
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# xctwdiff
xctwdiff reads the message of a failed `XCTAssertEqual` check from stdin and runs [wdiff] and [colordiff]
on the two sections. It assumes you don't write messages in your equality checks.
It's a Xcode command line tool project, so build and archive and copy the binary out of the archive
somewhere along your path, or alternatively add a hashbang line to the top and use it as a script.
It's written in Swift 4.1.
[wdiff]: https://www.gnu.org/software/wdiff/
[colordiff]: https://www.colordiff.org