Test output using new Io interface

I think I would try another approach:

  • generate a list of all the files
  • @embedFile that into the testing module
  • then use comptime to iterate over that list and create separate tests for all the different files

Then you can use something like this:

to be able to read which of the tests failed.

That way all the decisions about how to run the tests are delegated to the test runner.

2 Likes