Skip to main content

Module test_commands

Module test_commands 

Source
Expand description

The shell command that runs one test, from the marker files of the project.

Structsยง

CommandFinder
Finds run commands. A marker file (Cargo.toml, go.mod, package.json, pom.xml, build.gradle, build.gradle.kts, gradlew) is read from disk at most once per folder for the life of the finder. A Rust or Go test file is read at most once for the same time.
TestClass
A class that encloses a test. test_case says it derives from unittest.TestCase.
TestSpec
A test whose command is wanted. path is relative to the project root and uses /. kind is the symbol kind (function or method) and line its first line. classes are the classes that enclose the test, outermost first.