From db8ce8919c3f4a51d3e9307fa56a83932bf9d2c1 Mon Sep 17 00:00:00 2001 From: Ben Arthur Date: Thu, 13 Jun 2024 06:36:52 -0400 Subject: [PATCH] update docs for test in REPL (#3924) --- src/REPLMode/command_declarations.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/REPLMode/command_declarations.jl b/src/REPLMode/command_declarations.jl index d54304197e..c1120879a0 100644 --- a/src/REPLMode/command_declarations.jl +++ b/src/REPLMode/command_declarations.jl @@ -24,9 +24,10 @@ PSA[:name => "test", :completions => get_complete_function(:complete_installed_packages), :description => "run tests for packages", :help => md""" - test [--coverage] pkg[=uuid] ... + test [--coverage] [pkg[=uuid]] ... -Run the tests for package `pkg`. This is done by running the file `test/runtests.jl` +Run the tests for package `pkg`, or for the current project (which thus needs to be +a package) if `pkg` is ommitted. This is done by running the file `test/runtests.jl` in the package directory. The option `--coverage` can be used to run the tests with coverage enabled. The `startup.jl` file is disabled during testing unless julia is started with `--startup-file=yes`.