nitc :: ToolContext :: set_testing_path
NIT_TESTING_PATH
environment variable with path
.If path == null
then NIT_TESTING_PATH
is set with the empty string.
# Set the `NIT_TESTING_PATH` environment variable with `path`.
#
# If `path == null` then `NIT_TESTING_PATH` is set with the empty string.
fun set_testing_path(path: nullable String) do
"NIT_TESTING_PATH".setenv(path or else "")
end
src/testing/testing_base.nit:170,2--175,4