https://futureofcoding.org/ logo
#present-company
Title
# present-company
j

Justin Blank

03/22/2023, 10:39 PM
An easier question: does anyone know of test suites for existing languages that are compact but thorough?
a

Alex Cruise

04/03/2023, 11:34 PM
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
2 Views