| id | index |
|---|---|
| title | Difflicious |
| sidebar_label | Overview |
Diffs for human and machine consumption
Difflicious provides diffs for structured data in Scala, primarily for tests.
- Readable and actionable diff results tells you where exactly your data is different
- Flexible and configurable diffing logic
- Ignore unimportant fields when comparing
- Compare
Lists of items independent of order - Match
Mapentries by key and show diffs of the values
- Integration with test frameworks and popular libraries
Hungry for some good diffs? Check out the documentation!
If you're using the MUnit test framework:
// == SBT ==
"com.github.jatcwang" %% "difflicious-munit" % "@VERSION@"
// == Mill ==
ivy"com.github.jatcwang::difflicious-munit:@VERSION@"
If you're using ScalaTest test framework:
// == SBT ==
"com.github.jatcwang" %% "difflicious-scalatest" % "@VERSION@"
// == Mill ==
ivy"com.github.jatcwang::difflicious-scalatest:@VERSION@"
If you're using Weaver test framework:
// == SBT ==
"com.github.jatcwang" %% "difflicious-weaver" % "@VERSION@"
// == Mill ==
ivy"com.github.jatcwang::difflicious-weaver:@VERSION@"
All contributions are welcome, including suggestions and ideas. For larger changes, please raise an issue first to avoid duplicate work :)
This project takes many inspirations from:
Apache License 2.0. See LICENSE file.