nose2
0.14.1
开始使用Nose2
使用 nose2
配置nose2
差异:nose2与nose与unittest2
nose2插件
工具和助手
Changelog
正在写入插件
记录插件
事件引用
钩参考
会话引用
插件类引用
对鼻子的贡献2
内构件
nose2
索引
索引
符号
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
|
命
符号
--attribute
命令行选项
--collect-only
命令行选项
--config
命令行选项
--coverage
命令行选项
--coverage-config
命令行选项
--coverage-report
命令行选项
--debugger
命令行选项
--eval-attribute
命令行选项
--fail-fast
命令行选项
--junit-xml
命令行选项
--junit-xml-path
命令行选项
--layer-reporter
命令行选项
--log-capture
命令行选项
--no-plugins
命令行选项
--no-user-config
命令行选项
--output-buffer
命令行选项
--pretty-assert
命令行选项
--print-hooks
命令行选项
--processes
命令行选项
--profile
命令行选项
--project-directory
命令行选项
--set-outcomes
命令行选项
--start-dir
命令行选项
--top-level-directory
命令行选项
--with-coverage
命令行选项
--with-doctest
命令行选项
--with-id
命令行选项
-A
命令行选项
-B
命令行选项
-C
命令行选项
-c
命令行选项
-D
命令行选项
-E
命令行选项
-F
命令行选项
-I
命令行选项
-N
命令行选项
-P
命令行选项
,
[1]
-s
命令行选项
-t
命令行选项
-X
命令行选项
A
A()(在 nose2.tools.such 模块中)
addArgument() (nose2.events.Plugin 方法)
addAssertDetail()(nose2.plugins.prettyassert.PrettyAssert 静态方法)
addError() (nose2.result.PluggableTestResult 方法)
addExpectedFailure() (nose2.result.PluggableTestResult 方法)
addFailure() (nose2.result.PluggableTestResult 方法)
addFlag() (nose2.events.Plugin 方法)
addMethod() (nose2.events.PluginInterface 方法)
addMethods() (nose2.events.Plugin 方法)
addOption() (nose2.events.Plugin 方法)
addSkip() (nose2.result.PluggableTestResult 方法)
addSubTest() (nose2.result.PluggableTestResult 方法)
addSuccess() (nose2.result.PluggableTestResult 方法)
addUnexpectedSuccess() (nose2.result.PluggableTestResult 方法)
afterInteraction()
built-in function
afterInteraction() (nose2.plugins.buffer.OutputBufferPlugin 方法)
afterSummaryReport()
built-in function
afterSummaryReport() (nose2.plugins.coverage.Coverage 方法)
afterTestRun()
built-in function
afterTestRun() (nose2.plugins.result.ResultReporter 方法)
always-on
configvar
,
[1]
,
[2]
,
[3]
,
[4]
,
[5]
,
[6]
,
[7]
,
[8]
,
[9]
,
[10]
,
[11]
,
[12]
,
[13]
,
[14]
,
[15]
,
[16]
,
[17]
,
[18]
,
[19]
,
[20]
,
[21]
,
[22]
alwaysOn(nose2.events.Plugin 属性)
argparse(nose2.session.Session 属性)
args(nose2.events.CommandLineArgsEvent 属性)
as_bool() (nose2.config.Config 方法)
as_float() (nose2.config.Config 方法)
as_int() (nose2.config.Config 方法)
as_list() (nose2.config.Config 方法)
as_str() (nose2.config.Config 方法)
AttributeSelector(nose2.plugins.attrib 中的类)
B
beforeErrorList()
built-in function
beforeInteraction()
built-in function
beforeInteraction() (nose2.plugins.buffer.OutputBufferPlugin 方法)
beforeSummaryReport()
built-in function
beforeSummaryReport() (nose2.plugins.coverage.Coverage 方法)
beforeSummaryReport() (nose2.plugins.prof.Profiler 方法)
bind_address
configvar
built-in function
afterInteraction()
afterSummaryReport()
afterTestRun()
beforeErrorList()
beforeInteraction()
beforeSummaryReport()
createTests()
describeTest()
getTestCaseNames()
handleArgs()
handleFile()
loadTestsFromModule()
loadTestsFromName()
loadTestsFromNames()
loadTestsFromTestCase()
matchPath()
outcomeDetail()
pluginsLoaded()
registerInSubprocess()
reportError()
reportExpectedFailure()
reportFailure()
reportOtherOutcome()
reportSkip()
reportStartTest()
reportSuccess()
reportUnexpectedSuccess()
resultCreated()
resultStop()
runnerCreated()
setTestOutcome()
startLayerSetup()
startLayerSetupTest()
startLayerTeardown()
startLayerTeardownTest()
startSubprocess()
startTest()
startTestRun()
stopLayerSetup()
stopLayerSetupTest()
stopLayerTeardown()
stopLayerTeardownTest()
stopSubprocess()
stopTest()
stopTestRun()
testOutcome()
wasSuccessful()
C
call_with_args_if_expected()(在 nose2.util 模块中)
clear-handlers
configvar
code-directories
configvar
CollectOnly(nose2.plugins.collect 中的类)
collectTests() (nose2.plugins.collect.CollectOnly 方法)
colors
configvar
CommandLineArgsEvent(nose2.events 中的类)
commandLineSwitch(nose2.events.Plugin 属性)
configClass(nose2.session.Session 属性)
configSection(nose2.events.Plugin 属性)
configvar
always-on
,
[1]
,
[2]
,
[3]
,
[4]
,
[5]
,
[6]
,
[7]
,
[8]
,
[9]
,
[10]
,
[11]
,
[12]
,
[13]
,
[14]
,
[15]
,
[16]
,
[17]
,
[18]
,
[19]
,
[20]
,
[21]
,
[22]
bind_address
clear-handlers
code-directories
colors
coverage
coverage-config
coverage-report
date-format
descriptions
errors-only
exclude-plugins
extensions
filename
filter
format
highlight-words
id-file
indent
keep_restricted
log-level
path
plugins
processes
restrict
sort
start-dir
stderr
stdout
test-file-pattern
test-method-prefix
test-run-timeout
test_fullname
test_properties
treat-as-fail
treat-as-skip
Config(nose2.config 中的类)
config(nose2.events.Plugin 属性)
connection(nose2.plugins.mp.SubprocessEvent 属性)
coverage
configvar
coverage-config
configvar
coverage-report
configvar
Coverage(nose2.plugins.coverage 中的类)
CreatedTestSuiteEvent(nose2.events 中的类)
createTests()
built-in function
createTests() (nose2.main.PluggableTestProgram 方法)
createTests() (nose2.plugins.coverage.Coverage 方法)
createTests() (nose2.tools.such.Scenario 方法)
CreateTestsEvent(nose2.events 中的类)
D
date-format
configvar
Debugger(nose2.plugins.debugger 中的类)
defaultPlugins(nose2.main.PluggableTestProgram 属性)
describeTest()
built-in function
DescribeTestEvent(nose2.events 中的类)
descriptions
configvar
description(nose2.events.DescribeTestEvent 属性)
discover() (nose2.loader.PluggableTestLoader 方法)
discover()(在 nose2.main 模块中)
DiscoveryLoader(nose2.plugins.loader.discovery 中的类)
DocTestLoader(nose2.plugins.doctests 中的类)
DunderTestFilter(nose2.plugins.dundertest 中的类)
E
EggDiscoveryLoader(nose2.plugins.loader.eggdiscovery 中的类)
ensure_importable()(在 nose2.util 模块中)
errorList(nose2.events.DescribeTestEvent 属性)
errors-only
configvar
Event(nose2.events 中的类)
exc_info_to_string()(在 nose2.util 模块中)
exc_info(nose2.events.TestOutcomeEvent 属性)
exclude-plugins
configvar
excludedNames(nose2.events.GetTestCaseNamesEvent 属性)
executeTests(nose2.events.StartTestRunEvent 属性)
executeTests(nose2.plugins.mp.SubprocessEvent 属性)
expected(nose2.events.TestOutcomeEvent 属性)
extensions
configvar
extraDetail(nose2.events.OutcomeDetailEvent 属性)
extraNames(nose2.events.GetTestCaseNamesEvent 属性)
extraTests(nose2.events.HandleFileEvent 属性)
extraTests(nose2.events.LoadFromModuleEvent 属性)
extraTests(nose2.events.LoadFromNameEvent 属性)
extraTests(nose2.events.LoadFromNamesEvent 属性)
extraTests(nose2.events.LoadFromTestCaseEvent 属性)
F
failedImport() (nose2.loader.PluggableTestLoader 方法)
failedLoadTests() (nose2.loader.PluggableTestLoader 方法)
FailFast(nose2.plugins.failfast 中的类)
filename
configvar
filter
configvar
findConfigFiles() (nose2.main.PluggableTestProgram 方法)
format
configvar
format_traceback()(在 nose2.util 模块中)
Functions(nose2.plugins.loader.functions 中的类)
G
Generators(nose2.plugins.loader.generators 中的类)
get() (nose2.config.Config 方法)
get() (nose2.session.Session 方法)
getCurrentSession()(nose2.main.PluggableTestProgram 类方法)
getTestCaseNames()
built-in function
getTestCaseNames() (nose2.plugins.loader.generators.Generators 方法)
getTestCaseNames() (nose2.plugins.loader.parameters.Parameters 方法)
GetTestCaseNamesEvent(nose2.events 中的类)
getTestMethodNames()(在 nose2.plugins.loader.testclasses 模块中)
H
handleArgs()
built-in function
handleArgs() (nose2.main.PluggableTestProgram 方法)
handleArgs() (nose2.plugins.attrib.AttributeSelector 方法)
handleArgs() (nose2.plugins.coverage.Coverage 方法)
handleArgs() (nose2.plugins.junitxml.JUnitXmlReporter 方法)
handleCfgArgs() (nose2.main.PluggableTestProgram 方法)
handleDir() (nose2.plugins.loader.loadtests.LoadTestsLoader 方法)
handled(nose2.events.Event 属性)
handleFile()
built-in function
handleFile() (nose2.plugins.doctests.DocTestLoader 方法)
HandleFileEvent(nose2.events 中的类)
has_module_fixtures()(在 nose2.util 模块中)
has_setup() (nose2.tools.such.Scenario 方法)
has_teardown() (nose2.tools.such.Scenario 方法)
has_test_setup() (nose2.tools.such.Scenario 方法)
has_test_teardown() (nose2.tools.such.Scenario 方法)
having() (nose2.tools.such.Scenario 方法)
highlight-words
configvar
hookClass(nose2.events.PluginInterface 属性)
,
[1]
hooks(nose2.session.Session 属性)
Hook(nose2.events 中的类)
I
id-file
configvar
indent
configvar
ispackage()(在 nose2.util 模块中)
isPluginLoaded() (nose2.session.Session 方法)
isTestMethod(nose2.events.GetTestCaseNamesEvent 属性)
J
JUnitXmlReporter(nose2.plugins.junitxml 中的类)
K
keep_restricted
configvar
L
LayerReporter(nose2.plugins.layers 中的类)
Layers(nose2.plugins.layers 中的类)
layer(nose2.events.StartLayerSetupEvent 属性)
layer(nose2.events.StartLayerSetupTestEvent 属性)
layer(nose2.events.StartLayerTeardownEvent 属性)
layer(nose2.events.StartLayerTeardownTestEvent 属性)
layer(nose2.events.StopLayerSetupEvent 属性)
layer(nose2.events.StopLayerSetupTestEvent 属性)
layer(nose2.events.StopLayerTeardownEvent 属性)
layer(nose2.events.StopLayerTeardownTestEvent 属性)
Layer(内置类)
libDirs(nose2.session.Session 属性)
ln()(在 nose2.util 模块中)
loadConfigFiles() (nose2.session.Session 方法)
loaderClass(nose2.main.PluggableTestProgram 属性)
,
[1]
loader(nose2.events.CreateTestsEvent 属性)
loader(nose2.events.GetTestCaseNamesEvent 属性)
loader(nose2.events.HandleFileEvent 属性)
loader(nose2.events.LoadFromModuleEvent 属性)
loader(nose2.events.LoadFromNameEvent 属性)
loader(nose2.events.LoadFromNamesEvent 属性)
loader(nose2.events.LoadFromTestCaseEvent 属性)
loader(nose2.plugins.mp.SubprocessEvent 属性)
LoadFromModuleEvent(nose2.events 中的类)
LoadFromNameEvent(nose2.events 中的类)
LoadFromNamesEvent(nose2.events 中的类)
LoadFromTestCaseEvent(nose2.events 中的类)
loadIds() (nose2.plugins.testid.TestId 方法)
loadPlugins() (nose2.main.PluggableTestProgram 方法)
loadPlugins() (nose2.session.Session 方法)
loadPluginsFromModule() (nose2.session.Session 方法)
LoadTestsFailure
loadTestsFromModule()
built-in function
loadTestsFromModule() (nose2.loader.PluggableTestLoader 方法)
loadTestsFromModule() (nose2.plugins.loader.functions.Functions 方法)
loadTestsFromModule() (nose2.plugins.loader.generators.Generators 方法)
loadTestsFromModule() (nose2.plugins.loader.parameters.Parameters 方法)
loadTestsFromModule() (nose2.plugins.loader.testcases.TestCaseLoader 方法)
loadTestsFromModule() (nose2.plugins.loader.testclasses.TestClassLoader 方法)
loadTestsFromName()
built-in function
loadTestsFromName() (nose2.loader.PluggableTestLoader 方法)
loadTestsFromName() (nose2.plugins.loader.discovery.DiscoveryLoader 方法)
loadTestsFromName() (nose2.plugins.loader.eggdiscovery.EggDiscoveryLoader 方法)
loadTestsFromName() (nose2.plugins.loader.functions.Functions 方法)
loadTestsFromName() (nose2.plugins.loader.generators.Generators 方法)
loadTestsFromName() (nose2.plugins.loader.parameters.Parameters 方法)
loadTestsFromName() (nose2.plugins.loader.testcases.TestCaseLoader 方法)
loadTestsFromName() (nose2.plugins.loader.testclasses.TestClassLoader 方法)
loadTestsFromName() (nose2.plugins.testid.TestId 方法)
loadTestsFromNames()
built-in function
loadTestsFromNames() (nose2.loader.PluggableTestLoader 方法)
loadTestsFromNames() (nose2.plugins.loader.discovery.DiscoveryLoader 方法)
loadTestsFromNames() (nose2.plugins.loader.eggdiscovery.EggDiscoveryLoader 方法)
loadTestsFromNames() (nose2.plugins.testid.TestId 方法)
loadTestsFromTestCase()
built-in function
loadTestsFromTestCase() (nose2.plugins.loader.generators.Generators 方法)
loadTestsFromTestClass()(在 nose2.plugins.loader.testclasses 模块中)
LoadTestsLoader(nose2.plugins.loader.loadtests 中的类)
log-level
configvar
LogCapture(nose2.plugins.logcapture 中的类)
longLabel(nose2.events.TestOutcomeEvent 属性)
M
main()(在 nose2.main 模块中)
matchPath()
built-in function
MatchPathEvent(nose2.events 中的类)
metadata(nose2.events.Event 属性)
methods(nose2.events.PluginInterface 属性)
method(nose2.events.Hook 属性)
module
nose2.events
nose2.exceptions
nose2.loader
nose2.main
nose2.plugins.attrib
nose2.plugins.buffer
nose2.plugins.collect
nose2.plugins.coverage
nose2.plugins.debugger
nose2.plugins.doctests
nose2.plugins.dundertest
nose2.plugins.failfast
nose2.plugins.junitxml
nose2.plugins.layers
nose2.plugins.loader.discovery
nose2.plugins.loader.eggdiscovery
nose2.plugins.loader.functions
nose2.plugins.loader.generators
nose2.plugins.loader.loadtests
nose2.plugins.loader.parameters
nose2.plugins.loader.testcases
nose2.plugins.loader.testclasses
nose2.plugins.logcapture
nose2.plugins.mp
nose2.plugins.outcomes
nose2.plugins.prettyassert
nose2.plugins.printhooks
nose2.plugins.prof
nose2.plugins.result
nose2.plugins.testid
nose2.result
nose2.runner
nose2.tools.such
nose2.util
module_from_name()(在 nose2.util 模块中)
moduleLoadedSuite() (nose2.plugins.attrib.AttributeSelector 方法)
moduleLoadedSuite() (nose2.plugins.loader.loadtests.LoadTestsLoader 方法)
ModuleSuiteEvent(nose2.events 中的类)
module(nose2.events.CreateTestsEvent 属性)
module(nose2.events.LoadFromModuleEvent 属性)
module(nose2.events.LoadFromNameEvent 属性)
module(nose2.events.LoadFromNamesEvent 属性)
MultiProcess(nose2.plugins.mp 中的类)
N
name_from_args()(在 nose2.util 模块中)
name_from_path()(在 nose2.util 模块中)
names(nose2.events.CreateTestsEvent 属性)
names(nose2.events.LoadFromNamesEvent 属性)
name(nose2.events.HandleFileEvent 属性)
name(nose2.events.LoadFromNameEvent 属性)
name(nose2.events.MatchPathEvent 属性)
nextId() (nose2.plugins.testid.TestId 方法)
nose2.events
module
nose2.exceptions
module
nose2.loader
module
nose2.main
module
nose2.plugins.attrib
module
nose2.plugins.buffer
module
nose2.plugins.collect
module
nose2.plugins.coverage
module
nose2.plugins.debugger
module
nose2.plugins.doctests
module
nose2.plugins.dundertest
module
nose2.plugins.failfast
module
nose2.plugins.junitxml
module
nose2.plugins.layers
module
nose2.plugins.loader.discovery
module
nose2.plugins.loader.eggdiscovery
module
nose2.plugins.loader.functions
module
nose2.plugins.loader.generators
module
nose2.plugins.loader.loadtests
module
nose2.plugins.loader.parameters
module
nose2.plugins.loader.testcases
module
nose2.plugins.loader.testclasses
module
nose2.plugins.logcapture
module
nose2.plugins.mp
module
nose2.plugins.outcomes
module
nose2.plugins.prettyassert
module
nose2.plugins.printhooks
module
nose2.plugins.prof
module
nose2.plugins.result
module
nose2.plugins.testid
module
nose2.result
module
nose2.runner
module
nose2.tools.such
module
nose2.util
module
num_expected_args()(在 nose2.util 模块中)
O
object_from_name()(在 nose2.util 模块中)
outcomeDetail()
built-in function
outcomeDetail() (nose2.plugins.buffer.OutputBufferPlugin 方法)
outcomeDetail() (nose2.plugins.logcapture.LogCapture 方法)
OutcomeDetailEvent(nose2.events 中的类)
outcomeEvent(nose2.events.OutcomeDetailEvent 属性)
Outcomes(nose2.plugins.outcomes 中的类)
outcome(nose2.events.TestOutcomeEvent 属性)
OutputBufferPlugin(nose2.plugins.buffer 中的类)
P
Parameters(nose2.plugins.loader.parameters 中的类)
params()(在 nose2.tools 模块中)
parse_log_level()(在 nose2.util 模块中)
parseArgs() (nose2.main.PluggableTestProgram 方法)
path
configvar
path(nose2.events.HandleFileEvent 属性)
path(nose2.events.MatchPathEvent 属性)
pattern(nose2.events.HandleFileEvent 属性)
pattern(nose2.events.MatchPathEvent 属性)
pdb(nose2.plugins.debugger.Debugger 属性)
,
[1]
PluggableTestLoader(nose2.loader 中的类)
PluggableTestProgram(nose2.main 中的类)
PluggableTestResult(nose2.result 中的类)
PluggableTestRunner(nose2.runner 中的类)
pluginargs(nose2.session.Session 属性)
pluginClasses(nose2.plugins.mp.RegisterInSubprocessEvent 属性)
PluginInterface(nose2.events 中的类)
plugins
configvar
pluginsLoaded()
built-in function
PluginsLoadedEvent(nose2.events 中的类)
pluginsLoaded(nose2.events.PluginsLoadedEvent 属性)
plugins(nose2.events.Hook 属性)
plugins(nose2.plugins.mp.SubprocessEvent 属性)
plugins(nose2.session.Session 属性)
Plugin(nose2.events 中的类)
prepareSysPath() (nose2.session.Session 方法)
preRegistrationMethods(nose2.events.PluginInterface 属性)
PrettyAssert(nose2.plugins.prettyassert 中的类)
PrintHooks(nose2.plugins.printhooks 中的类)
processes
configvar
procs(nose2.plugins.mp.MultiProcess 属性)
Profiler(nose2.plugins.prof 中的类)
R
reason(nose2.events.TestOutcomeEvent 属性)
register() (nose2.events.Plugin 方法)
register() (nose2.events.PluginInterface 方法)
register() (nose2.plugins.loader.testclasses.TestClassLoader 方法)
register() (nose2.plugins.printhooks.PrintHooks 方法)
registerInSubprocess()
built-in function
RegisterInSubprocessEvent(nose2.plugins.mp 中的类)
registerPlugin() (nose2.session.Session 方法)
reportCategories(nose2.events.ReportSummaryEvent 属性)
reportError()
built-in function
reportExpectedFailure()
built-in function
reportFailure()
built-in function
reportOtherOutcome()
built-in function
reportSkip()
built-in function
reportStartTest()
built-in function
reportStartTest() (nose2.plugins.testid.TestId 方法)
reportSuccess()
built-in function
ReportSummaryEvent(nose2.events 中的类)
ReportTestEvent(nose2.events 中的类)
reportUnexpectedSuccess()
built-in function
restrict
configvar
resultClass(nose2.runner.PluggableTestRunner 属性)
,
[1]
resultCreated()
built-in function
resultCreated() (nose2.plugins.failfast.FailFast 方法)
ResultCreatedEvent(nose2.events 中的类)
ResultReporter(nose2.plugins.result 中的类)
resultStop()
built-in function
ResultStopEvent(nose2.events 中的类)
ResultSuccessEvent(nose2.events 中的类)
result(nose2.events.ResultCreatedEvent 属性)
result(nose2.events.ResultStopEvent 属性)
result(nose2.events.ResultSuccessEvent 属性)
result(nose2.events.StartTestEvent 属性)
result(nose2.events.StartTestRunEvent 属性)
result(nose2.events.StopTestEvent 属性)
result(nose2.events.StopTestRunEvent 属性)
result(nose2.events.TestOutcomeEvent 属性)
result(nose2.plugins.mp.SubprocessEvent 属性)
run() (nose2.runner.PluggableTestRunner 方法)
runnerClass(nose2.main.PluggableTestProgram 属性)
,
[1]
runnerCreated()
built-in function
RunnerCreatedEvent(nose2.events 中的类)
runner(nose2.events.RunnerCreatedEvent 属性)
runner(nose2.events.StartTestRunEvent 属性)
runner(nose2.events.StopTestRunEvent 属性)
runTests() (nose2.main.PluggableTestProgram 方法)
S
safe_decode()(在 nose2.util 模块中)
Scenario(nose2.tools.such 中的类)
sessionClass(nose2.main.PluggableTestProgram 属性)
,
[1]
session(nose2.events.Plugin 属性)
Session(nose2.session 中的类)
setInitialArguments() (nose2.main.PluggableTestProgram 方法)
setStartDir() (nose2.session.Session 方法)
setTestOutcome()
built-in function
setTestOutcome() (nose2.plugins.buffer.OutputBufferPlugin 方法)
setTestOutcome() (nose2.plugins.logcapture.LogCapture 方法)
setTestOutcome() (nose2.plugins.outcomes.Outcomes 方法)
setUp()(Layer 类方法)
setVerbosity() (nose2.session.Session 方法)
shortLabel(nose2.events.TestOutcomeEvent 属性)
should() (nose2.tools.such.Scenario 方法)
shouldStop(nose2.events.ResultStopEvent 属性)
shouldStop(nose2.result.PluggableTestResult 属性)
sort
configvar
sortTestMethodsUsing() (nose2.loader.PluggableTestLoader 方法)
start-dir
configvar
startDir(nose2.session.Session 属性)
startLayerSetup()
built-in function
StartLayerSetupEvent(nose2.events 中的类)
startLayerSetupTest()
built-in function
StartLayerSetupTestEvent(nose2.events 中的类)
startLayerTeardown()
built-in function
StartLayerTeardownEvent(nose2.events 中的类)
startLayerTeardownTest()
built-in function
StartLayerTeardownTestEvent(nose2.events 中的类)
startSubprocess()
built-in function
startTest()
built-in function
startTest() (nose2.plugins.buffer.OutputBufferPlugin 方法)
startTest() (nose2.plugins.junitxml.JUnitXmlReporter 方法)
startTest() (nose2.plugins.logcapture.LogCapture 方法)
startTest() (nose2.plugins.result.ResultReporter 方法)
startTest() (nose2.result.PluggableTestResult 方法)
StartTestEvent(nose2.events 中的类)
startTestRun()
built-in function
startTestRun() (nose2.plugins.collect.CollectOnly 方法)
startTestRun() (nose2.plugins.dundertest.DunderTestFilter 方法)
startTestRun() (nose2.plugins.logcapture.LogCapture 方法)
startTestRun() (nose2.plugins.prof.Profiler 方法)
StartTestRunEvent(nose2.events 中的类)
startTime(nose2.events.StartTestEvent 属性)
startTime(nose2.events.StartTestRunEvent 属性)
stderr
configvar
stdout
configvar
stop() (nose2.result.PluggableTestResult 方法)
stopLayerSetup()
built-in function
StopLayerSetupEvent(nose2.events 中的类)
stopLayerSetupTest()
built-in function
StopLayerSetupTestEvent(nose2.events 中的类)
stopLayerTeardown()
built-in function
StopLayerTeardownEvent(nose2.events 中的类)
stopLayerTeardownTest()
built-in function
StopLayerTeardownTestEvent(nose2.events 中的类)
stopSubprocess()
built-in function
stopTest()
built-in function
stopTest() (nose2.plugins.buffer.OutputBufferPlugin 方法)
stopTest() (nose2.plugins.logcapture.LogCapture 方法)
stopTest() (nose2.result.PluggableTestResult 方法)
StopTestEvent(nose2.events 中的类)
stopTestEvent(nose2.events.ReportSummaryEvent 属性)
stopTestRun()
built-in function
stopTestRun() (nose2.plugins.junitxml.JUnitXmlReporter 方法)
stopTestRun() (nose2.plugins.testid.TestId 方法)
StopTestRunEvent(nose2.events 中的类)
stopTime(nose2.events.StopTestEvent 属性)
stopTime(nose2.events.StopTestRunEvent 属性)
stream(nose2.events.ReportSummaryEvent 属性)
stream(nose2.events.ReportTestEvent 属性)
SubprocessEvent(nose2.plugins.mp 中的类)
success(nose2.events.ResultSuccessEvent 属性)
suiteClass(nose2.loader.PluggableTestLoader 属性)
,
[1]
suite(nose2.events.CreatedTestSuiteEvent 属性)
suite(nose2.events.StartTestRunEvent 属性)
T
tearDown()(Layer 类方法)
test-file-pattern
configvar
test-method-prefix
configvar
test-run-timeout
configvar
test_from_name()(在 nose2.util 模块中)
test_fullname
configvar
test_properties
configvar
TestCaseLoader(nose2.plugins.loader.testcases 中的类)
testCase(nose2.events.GetTestCaseNamesEvent 属性)
testCase(nose2.events.LoadFromTestCaseEvent 属性)
TestClassLoader(nose2.plugins.loader.testclasses 中的类)
testEvent(nose2.events.ReportTestEvent 属性)
testFilePattern(nose2.session.Session 属性)
TestId(nose2.plugins.testid 中的类)
testMethodPrefix(nose2.events.GetTestCaseNamesEvent 属性)
testMethodPrefix(nose2.session.Session 属性)
TestNotFoundError
testOutcome()
built-in function
testOutcome() (nose2.plugins.debugger.Debugger 方法)
testOutcome() (nose2.plugins.failfast.FailFast 方法)
testOutcome() (nose2.plugins.junitxml.JUnitXmlReporter 方法)
testOutcome() (nose2.plugins.result.ResultReporter 方法)
TestOutcomeEvent(nose2.events 中的类)
testSetUp()(Layer 类方法)
testTearDown()(Layer 类方法)
test(nose2.events.DescribeTestEvent 属性)
test(nose2.events.StartLayerSetupTestEvent 属性)
test(nose2.events.StartLayerTeardownTestEvent 属性)
test(nose2.events.StartTestEvent 属性)
test(nose2.events.StopLayerSetupTestEvent 属性)
test(nose2.events.StopLayerTeardownTestEvent 属性)
test(nose2.events.StopTestEvent 属性)
test(nose2.events.TestOutcomeEvent 属性)
timeTaken(nose2.events.StopTestRunEvent 属性)
topLevelDirectory(nose2.events.HandleFileEvent 属性)
topLevelDir(nose2.session.Session 属性)
transplant_class()(在 nose2.util 模块中)
treat-as-fail
configvar
treat-as-skip
configvar
try_import_module_from_name()(在 nose2.util 模块中)
U
unittest(nose2.session.Session 属性)
UserInteractionEvent(nose2.events 中的类)
V
valid_module_name()(在 nose2.util 模块中)
verbosity(nose2.session.Session 属性)
version(nose2.events.Event 属性)
,
[1]
W
wasSuccessful()
built-in function
wasSuccessful() (nose2.plugins.coverage.Coverage 方法)
wasSuccessful() (nose2.result.PluggableTestResult 方法)
with_setup()(在 nose2.tools.decorators 模块中)
with_teardown()(在 nose2.tools.decorators 模块中)
命
命令行选项
--attribute
--collect-only
--config
--coverage
--coverage-config
--coverage-report
--debugger
--eval-attribute
--fail-fast
--junit-xml
--junit-xml-path
--layer-reporter
--log-capture
--no-plugins
--no-user-config
--output-buffer
--pretty-assert
--print-hooks
--processes
--profile
--project-directory
--set-outcomes
--start-dir
--top-level-directory
--with-coverage
--with-doctest
--with-id
-A
-B
-c
-C
-D
-E
-F
-I
-N
-P
,
[1]
-s
-t
-X