NOSE2-3(1)
π NAME π
okay bestie, this is the manual for nose2-3 β yes, that's literally the whole name, iconic minimalism fr fr π
β¨ DESCRIPTION β¨
so nose2-3 is your test runner and here's how you talk to it, no cap:
usage: nose2 [-s START_DIR] [-t TOP_LEVEL_DIRECTORY] [--config [CONFIG]]
[--no-user-config] [--no-plugins] [--plugin PLUGINS]
[--exclude-plugin EXCLUDE_PLUGINS] [--verbosity VERBOSITY]
[--verbose] [--quiet] [--log-level LOG_LEVEL] [-B] [--coverage
PATH] [--coverage-report TYPE] [--coverage-config FILE] [-C] [-D]
[-F] [--pretty-assert] [-h] [testNames ...]
π«Ά positional arguments π«Ά
testNamesβ the names of the tests you wanna run, just tell them straight up π
π options π
-s,--start-dir START_DIRβ the directory where discovery kicks off (defaults to'.') πΈ-t,--top-level-directory,--project-directory TOP_LEVEL_DIRECTORYβ the top level directory of your project (and yeah, it defaults to the start dir) β¨--config,-c [CONFIG]β config files to load, if they exist. and if you don't say anything? the default is'unittest.cfg'and'nose2.cfg'in the start directory, periodt π--no-user-configβ do NOT load user config files, we're on a strict vibe check π«--no-pluginsβ do not load any plugins at all. β οΈ warning bestie: nose2 does not do anything if no plugins are loaded. like, literally nothing. it's giving empty plate at the function π--plugin PLUGINSβ load this plugin module, yes queen π§--exclude-plugin EXCLUDE_PLUGINSβ do not load this plugin module, we're curating π--verbosity VERBOSITYβ set the starting verbosity level (it's an int). this one applies before-vand-qdo their thing π₯--verbose,-vβ print test case names and statuses. stack multiple'-v's for higher verbosity, go off β¨--quiet,-qβ reduce verbosity. multiple'-q's result in lower verbosity, shy girl energy π--log-level LOG_LEVELβ set the logging level for messages logged to console π’-h,--helpβ show this help message and exit, the classic escape hatch π¦
π plugin arguments π
command-line arguments added by plugins, the little extras the plugins bring to the group chat:
-B,--output-bufferβ enable output buffer π«§--coverage PATHβ measure coverage for a filesystem path (multi-allowed, so bring as many as you want) π--coverage-report TYPEβ generate selected reports. available types:term,term-missing,annotate,html,xml(also multi-allowed, go wild) π--coverage-config FILEβ config file for coverage, default:.coveragercβ-C,--with-coverageβ turn on coverage reporting, we love to see it π-D,--debuggerβ enterpdbon test fail or error π-F,--fail-fastβ stop the test run after the first error or failure, no dragging it out bestie π--pretty-assertβ add pretty output for"assert"statements, gorgeous π
and that's the whole thing, slay π this was nose2-3 version 0.16.0-2, dated August 2026 β love her, read her, run her tests, byeee π¦π
π¦ where this page comes from
- ubuntu stonking: python3-nose2 0.16.0-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms