Test Command

Runs program tests.

  • Parameters:
    • root: (Optional) Anchor project root. Default value is ./.
    • nocapture: (Optional) Do not capture and hide output from tests.
    • package: (Optional) Package to test.
    • nextest: (Optional) Runs all the tests in parallel using nextest. For installation instructions, see here.
    • test_name: (Optional) Name of the test to run.