Source.getFile looks for the file in the project root folder, so to run a test file the following command is required:
sbt
run src/test/resources/<file.c0>
In contrast, Source.getResource looks for the file in src/test/resources/ by default. So, to run a test file in the resources folder the following command is required:
sbt
run <file.c0>
This second command aligns with the description in the README, whereas the first command does not.
Source.getFile looks for the file in the project root folder, so to run a test file the following command is required:
In contrast, Source.getResource looks for the file in
src/test/resources/
by default. So, to run a test file in the resources folder the following command is required:This second command aligns with the description in the README, whereas the first command does not.