Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jatcwang/difflicious
Scala library for readable diffs of values
https://github.com/jatcwang/difflicious
diffs scala test
Last synced: 6 days ago
JSON representation
Scala library for readable diffs of values
- Host: GitHub
- URL: https://github.com/jatcwang/difflicious
- Owner: jatcwang
- License: apache-2.0
- Created: 2021-03-27T16:28:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T09:44:06.000Z (16 days ago)
- Last Synced: 2024-10-21T13:57:00.668Z (16 days ago)
- Topics: diffs, scala, test
- Language: Scala
- Homepage:
- Size: 547 KB
- Stars: 80
- Watchers: 5
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Difflicious
> Diffs for human consumption
[![Release](https://img.shields.io/nexus/r/com.github.jatcwang/difflicious-munit_2.13?server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/content/repositories/releases/com/github/jatcwang/difflicious-munit_2.13/)
[![(https://badges.gitter.im/gitterHQ/gitter.png)](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/jatcwang/difflicious)**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 `List`s of items independent of order
- Match `Map` entries by key and show diffs of the values
- Integration with test frameworks and popular librariesHungry for some good diffs? Check out the [documentation](https://jatcwang.github.io/difflicious/)!
# 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](https://github.com/softwaremill/diffx)'s path expression for ignoring fields
- [MUnit](https://scalameta.org/munit/)'s case class diffs# License
**Apache License 2.0**. See LICENSE file.