jatcwang / difflicious   0.4.3

Apache License 2.0 GitHub

Scala library for readable diffs of values

Scala versions: 3.x 2.13

Difflicious

Diffs for human consumption

Release (https://badges.gitter.im/gitterHQ/gitter.png)

Difflicious is a library that produces nice readable diffs in your tests.

  • Readable and Actionable diff results
  • Flexible & Configurable diffing logic
    • Ignore unimportant fields when comparing
    • Compare Lists of items independent of order
    • Match Map entries by key and show diffs of the values
  • Integration with test frameworks and popular libraries

Hungry for some good diffs? Check out the documentation!

Contributing

All contributions are welcome including suggestions and ideas. For larger changes please raise an issue first to avoid duplicate work :)

Attributions

This project takes many inspirations from

  • diffx's path expression for ignoring fields
  • MUnit's case class diffs

License

Apache License 2.0. See LICENSE file.