I rewrote the #regal e2e tests the other day. Tests that exec the actual binary and verify the results. Can’t get more e2e than that! But tests were verbose, procedural and contained way too many lines of scaffolding. The new e2e test suite uses a functional DSL I wrote for the purpose, is declarative, contains not scaffolding, and is less than half the number of lines of code. One thing it isn’t however is “idiomatic #golang”. But I was already banned from that heaven, so no harm done 😎

https://github.com/StyraInc/regal/pull/1640/files