Add diffing to scripted failures
dwijnand opened this issue · comments
Dale Wijnand commented
When any scripted test fails for contents difference it would be nice to have a diff result returned.
See sbt/contraband@b40e530 and sbt/contraband#42 for some prior art.
eugene yokota commented
sbt already contains Dotty's DiffUtil in private[inc]
- https://github.com/sbt/zinc/blob/v1.1.1/internal/zinc-core/src/main/scala/sbt/internal/inc/APIDiff.scala
Maybe it could be made public in somewhere?
Dale Wijnand commented
in a standalone library, sure.