krzysztofzablocki/Difference
Simple way to identify what is different between 2 instances of any type. Must have for TDD. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 20
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3241
- days_rel: n/a
- days_push: 482
- n_releases_24m: 0
Adoption not part of the score
1243 stars · 60 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift library that highlights exactly which properties differ between two instances of any type, producing readable diffs instead of Xcode's wall of text. It integrates with XCTest, Quick, and lldb to improve test failure output.
Use cases
- show readable diffs when XCTAssertEqual fails
- find which property differs between two Swift objects in tests
- debug test failures with po dumpDiff in lldb
- improve TDD workflow with better equality assertions
- integrate diff output into Quick matchers
When to choose
- you write Swift tests with equality assertions and want clear failure messages
- you use XCTest or Quick and struggle to spot differences in large object dumps
- you want a lightweight MIT-licensed Swift package for iOS/macOS testing
When to avoid
- you don't work in Swift or Apple platforms
- you need snapshot/image-based test comparison rather than value diffs
Facets
library · maturity active
testing developer-tools testing developer-tools cross-platform swift xctest tdd diff unit-testing quick lldb ios macos
4 sources
- readme: https://github.com/krzysztofzablocki/Difference · fetched 2026-08-28 · 32d7497d480a
- homepage: http://merowing.info · fetched 2026-08-29 · 61f3f84527cc
- site_page: https://merowing.info/about · fetched 2026-08-29 · 169bfe72ef06
- site_page: https://merowing.info/posts/eval-loops-for-llm-features · fetched 2026-08-29 · b28398939c2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| krzysztofzablocki/Difference | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="krzysztofzablocki/Difference")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem