mojo test
Execute unit, integration, and documentation tests.
Synopsis
mojo test [options] <input>
Description
Execute the given Mojo tests.
Options
Collection options
--collect-only
, --co
Only collect tests, don't execute them.
Compilation options
-I <PATH>
Appends the given path to the list of directories to search for imported Mojo files.
Common options
--diagnostic-format <FORMAT>
The format in which diagnostics and error messages are printed. Must be one of "text" or "json" ("text" is the default).
--help
, -h
Displays help information.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?