s6.app.testΒΆ

Run the Sense Core unit test suite from the CLI.

This module powers the s6 test command by resolving the repository src path, loading requested tests by dotted name, or discovering all tests matching test_*.py under src/s6.

s6.app.test.main()

Execute unit tests and exit with a process status code.

When one or more dotted test names are provided in sys.argv[1:], only those tests are loaded. Otherwise, all tests under src/s6 matching test_*.py are discovered and executed.

Raises:

SystemExit – Exits with code 0 when all tests pass, otherwise 1.