NestedTests
NestedTests — ModuleRun tests in nested environments.
NestedTests.nested_test — Functionnested_test(name::String) do ... endRun tests in a nested environment. The test can use any of the variables defined in its parent test(s). Any changes made to these variables will be isolated from other sibling nested tests in this level, but will be visible to descendant nested tests.
NestedTests.test_name — Functiontest_name()::StringReturn the full name of the current test, with / separating the nested test names.
NestedTests.abort_on_first_failure — Functionabort_on_first_failure(abort::Bool)::BoolSpecify whether to abort the execution when encountering a test failure (by default, false). Returns the previous setting.
NestedTests.test_prefixes — Functiontest_prefixes(prefixes::Vector{Union{String}})::NothingSpecify prefixes for the tests to run. Only tests whose test_name matches any of these prefixes will be run. If the vector is empty (the default), all the tests will be run.