An easier question: does anyone know of test suite...
# present-company
j
An easier question: does anyone know of test suites for existing languages that are compact but thorough?
a
It took a bit of tooling, but Scala’s test suite is pretty nice for compactness, e.g.: • all
pos/**/*.scala
should compile but the output isn’t checked • all
neg/**/*.scala
should NOT compile, but the compile error messages aren’t checked • all
run/**/*.scala
are run, and their output compared to a
*.check
file alongside, e.g. run
foo.scala
and make sure
foo.check
contains the same output