The raco test command requires and runs the test submodule (if any) associated with each path given on the command line. When a path refers to a directory, the tool recursively discovers all files that end in ".rkt" within the directory and runs their test submodules.
The raco test command accepts a few flags:
-s ‹name› or --submodule ‹name› —
Requires the submodule ‹name› rather than test.
-r or --run-if-absent —
Requires the top-level module of a file if the relevant submodule is not present. This is the default mode.
-x or --no-run-if-absent —
Ignores a file if the relevant submodule is not present.
-c or --collection —
Intreprets the arguments as collections where all files should be tested.
-p or --package —
Intreprets the arguments as packages where all files should be tested. (All package scopes are searched for the first, most specific package.)