sbt / sbt-buildinfo

I know this because build.sbt knows this.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add diffing to scripted failures

dwijnand opened this issue · comments

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.

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?

in a standalone library, sure.