在 GitHub 上叉我

万无一失的报告

概括

[摘要] [包列表] [测试用例]


测试 错误 失败 跳过 成功率 时间
268 0 0 0 100% 35.303

注意:在未预料到的错误时,可以预见并使用断言检查失败。


包装清单

[摘要] [包列表] [测试用例]


包裹 测试 错误 失败 跳过 成功率 时间
org.apache.maven.plugin.surefire 62 0 0 0 100% 11.591
org.apache.maven.plugin.surefire.report 15 0 0 0 100% 2.665
org.apache.maven.surefire.extensions 8 0 0 0 100% 1.94
org.apache.maven.plugin.surefire.extensions 42 0 0 0 100% 11.024
org.apache.maven.plugin.surefire.booterclient.lazytestprovider 15 0 0 0 100% 1.133
org.apache.maven.surefire.spi 3 0 0 0 100% 0.02
org.apache.maven.plugin.surefire.runorder 7 0 0 0 100% 0.095
org.apache.maven.plugin.surefire.booterclient.output 33 0 0 0 100% 0.252
org.apache.maven.surefire.report 7 0 0 0 100% 0.063
org.apache.maven.surefire.util 2 0 0 0 100% 0.003
org.apache.maven.plugin.surefire.util 15 0 0 0 100% 0.991
org.apache.maven.plugin.surefire.booterclient 59 0 0 0 100% 5.526

注意:包统计信息不是递归计算的,它们只是总结了它所有的测试套件数量。

org.apache.maven.plugin.surefire

班级 测试 错误 失败 跳过 成功率 时间
SurefirePropertiesTest 4 0 0 0 100% 0.004
SurefireHelperTest 8 0 0 0 100% 0.004
AbstractSurefireMojoTest 21 0 0 0 100% 5.407
AbstractSurefireMojoJava7PlusTest 3 0 0 0 100% 3.284
AbstractSurefireMojoToolchainsTest 11 0 0 0 100% 2.742
MojoMocklessTest 12 0 0 0 100% 0.059
普通反射器测试 3 0 0 0 100% 0.091

org.apache.maven.plugin.surefire.report

班级 测试 错误 失败 跳过 成功率 时间
WrappedReportEntryTest 6 0 0 0 100% 0.008
StatelessXmlReporterTest 3 0 0 0 100% 0.191
DefaultReporterFactoryTest 4 0 0 0 100% 1.224
测试集统计测试 2 0 0 0 100% 1.242

org.apache.maven.surefire.extensions

班级 测试 错误 失败 跳过 成功率 时间
StatelessTestsetInfoReporterTest 7 0 0 0 100% 1.837
ForkChannelTest 1 0 0 0 100% 0.103

org.apache.maven.plugin.surefire.extensions

班级 测试 错误 失败 跳过 成功率 时间
ForkedProcessEventNotifierTest$ReportEntryTest 1 0 0 0 100% 1.876
ForkedProcessEventNotifierTest$DecoderOperationsTest 24 0 0 0 100% 2.181
ConsoleOutputReporterTest 6 0 0 0 100% 0.003
无状态记者测试 6 0 0 0 100% 0.004
StreamFeederTest 4 0 0 0 100% 0.025
E2E测试 1 0 0 0 100% 6.935

org.apache.maven.plugin.surefire.booterclient.lazytestprovider

班级 测试 错误 失败 跳过 成功率 时间
测试提供输入流测试 5 0 0 0 100% 1.113
TestLessInputStreamBuilderTest 10 0 0 0 100% 0.02

org.apache.maven.surefire.spi

班级 测试 错误 失败 跳过 成功率 时间
SPITest 3 0 0 0 100% 0.02

org.apache.maven.plugin.surefire.runorder

班级 测试 错误 失败 跳过 成功率 时间
RunEntryStatisticsMapTest 7 0 0 0 100% 0.095

org.apache.maven.plugin.surefire.booterclient.output

班级 测试 错误 失败 跳过 成功率 时间
ForkClientTest 33 0 0 0 100% 0.252

org.apache.maven.surefire.report

班级 测试 错误 失败 跳过 成功率 时间
运行统计测试 1 0 0 0 100% 0.001
文件报告测试 2 0 0 0 100% 0.021
ConsoleOutputFileReporterTest 4 0 0 0 100% 0.041

org.apache.maven.surefire.util

班级 测试 错误 失败 跳过 成功率 时间
重定位器测试 2 0 0 0 100% 0.003

org.apache.maven.plugin.surefire.util

班级 测试 错误 失败 跳过 成功率 时间
特定文件过滤器测试 4 0 0 0 100% 0.003
DirectoryScannerTest 5 0 0 0 100% 0.22
DependenciesScannerTest 4 0 0 0 100% 0.767
ScannerUtilTest 2 0 0 0 100% 0.001

org.apache.maven.plugin.surefire.booterclient

班级 测试 错误 失败 跳过 成功率 时间
ForkingRunListenerTest 15 0 0 0 100% 0.2
ForkConfigurationTest 8 0 0 0 100% 0.224
BooterDeserializerStartupConfigurationTest 7 0 0 0 100% 0.091
BooterDeserializerProviderConfigurationTest 7 0 0 0 100% 0.075
DefaultForkConfigurationTest 10 0 0 0 100% 2.482
JarManifestForkConfigurationTest 9 0 0 0 100% 1.691
ModularClasspathForkConfigurationTest 1 0 0 0 100% 0.015
ForkStarterTest 2 0 0 0 100% 0.748

测试用例

[摘要] [包列表] [测试用例]

重定位器测试

测试搬迁 0.002
测试Foo 0.001

运行统计测试

测试集运行统计 0.001

文件报告测试

testFileNameWithSuffix 0.019
testFileNameWithoutSuffix 0.002

ConsoleOutputFileReporterTest

测试并发访问报告文件 0.027
测试空报告文件 0.003
testFileNameWithSuffix 0.006
testFileNameWithoutSuffix 0.005

SurefirePropertiesTest

测试键 0.001
testConstructWithOther 0.003
测试键重新插入 0
testPutAll 0

特定文件过滤器测试

testMatchSingleSegment通配符 0.003
testMatchSingleSegmentWord通配符 0
testMatchSingleCharacter通配符 0
testMatchMultiSegment通配符 0

DirectoryScannerTest

locateTestClasses["**/*ZT*A.java" 应该算为 <3> 类] 0.057
locateTestClasses["**/*ZT*A.java#testMethod" 应该算为 <3> 类] 0.057
locateTestClasses["**/*ZT?A.java#testMethod, !*ZT2A" 应该算为 <2> 类] 0.057
locateTestClasses["**/*ZT?A.java#testMethod, !*ZT2A#testMethod" 应该算为 <3> 类] 0.027
locateTestClasses["#testMethod" 应该是一个等于或大于 <3> 类的值] 0.022

DependenciesScannerTest

testLocateTestClassesFromMultipleArtifactsWithType 0.711
testLocateTestClassesFromArtifactWithClassifier 0.016
testLocateTestClassesFromMultipleVersionsOfArtifact 0.024
testLocateTestClasses 0.016

RunEntryStatisticsMapTest

testPrioritizedClassRuntime 0.016
testMultiLineTestMethodName 0.025
测试反序列化类 0.011
测试序列化 0.012
测试组合方法名称 0.017
testPrioritizedFailureFirst 0
测试序列化类 0.014

WrappedReportEntryTest

testElapsed 0
testEqualDisplayNames 0
测试显示名称 0
testClassNameOnly 0.008
测试常规 0
testGetReportNameWithParams 0

StatelessXmlReporterTest

testAllFieldsSerialized 0.125
testOutputRerunFlakyFailure 0.06
testFileNameWithoutSuffix 0.006

DefaultReporterFactoryTest

testCreateReporterWithZeroStatistics 0.043
测试合并测试历史结果 1.18
testGetTestResultType 0
测试记录器 0.001

ForkingRunListenerTest

testFailedWithCommaInMessage 0.141
测试假设失败 0.003
测试集开始 0.002
测试失败 0.006
测试系统属性 0.005
testMultipleEntries 0.006
test2DifferentChannels 0.005
测试控制台 0.001
测试控制台输出 0.004
测试集完成 0.002
测试失败 0.009
测试成功 0.007
testFailedWithUnicodeEscapeInMessage 0.004
跳过测试 0.002
测试开始 0.003

ForkConfigurationTest

testCreateCommandLine_UseSystemClassLoaderForkOnce_ShouldConstructManifestOnlyJar 0.101
testExceptionWhenCurrentDirectoryIsNotRealDirectory 0.013
测试环境 0.018
testArglineWithNewline 0.021
测试CliArgs 0.023
测试调试线 0.009
testCurrentWorkingDirectoryPropagationIncludingForkNumberExpansion 0.028
testExceptionWhenCurrentDirectoryCannotBeCreated 0.011

BooterDeserializerStartupConfigurationTest

测试类路径配置 0.028
测试流程检查器 0.008
测试提供者 0.019
测试类加载器配置 0.007
testClassLoaderConfigurationTrues 0.01
testProcessCheckerAll 0.01
testProcessCheckerNull 0.009

BooterDeserializerProviderConfigurationTest

testTestForFork 0.01
testDirectoryScannerParams 0.019
测试测试请求 0.009
测试报告器配置 0.009
testFailIfNoTests 0.009
测试TestArtifact 0.01
testTestForForkWithMultipleFiles 0.009

测试提供输入流测试

应该读测试 0.003
应该解码两个命令 0.003
完成TestsetShouldNotBlock 0.104
emptyStreamShouldWaitUntilClosed 1.003
closedStreamShouldReturnNullAsEndOfStream 0

TestLessInputStreamBuilderTest

应该解码两个命令 0.01
应该抛出UnsupportedException1 0.001
应该抛出UnsupportedException2 0
应该抛出UnsupportedException3 0
应该抛出UnsupportedException4 0.001
应该抛出UnsupportedException5 0
应该抛出UnsupportedException6 0.001
组合命令 0.006
立即命令 0.001
cachableCommandsShouldBeIterableWithStillOpenIterator 0

SPITest

应该Load2SpiObjects 0.016
shouldNotLoadEmptySpi 0.003
shouldNotLoadSpiDoesNotExist 0.001

SurefireHelperTest

应该克隆转储文件 0
应该处理测试失败 0.001
shouldReplaceForkNumberPath 0
shouldReplaceLongForkNumberPath 0.001
应该是三个转储文件 0
测试常量 0
shouldHandleFailIfNoTests 0.001
应该EscapeWindowsPath 0.001

AbstractSurefireMojoTest

shouldSmartlyResolveJUnit5ProviderWithJUnit4 3.242
shouldSmartlyResolveJUnit5ProviderWithVintage 0.047
shouldRetainInProcArtifactsUnique 0.017
shouldCreateStartupConfigWithModularPath 0.398
shouldSmartlyResolveJUnit5ProviderWithJupiterApi 0.031
shouldHaveStartupConfigForNonModularClasspath 0.632
应该显示数组 0.014
应该显示地图 0.01
shouldSmartlyResolveJUnit5ProviderWithJupiterEngineInPluginDependencies 0.043
shouldSmartlyResolveJUnit5ProviderWithJupiterEngine 0.042
shouldSmartlyResolveJUnit5ProviderWithJUnit5Engine 0.028
providerClasspathCachingIsNotSharedAcrossMojoInstances 0.065
shouldSmartlyResolveJUnit5ProviderWithJUnit5Commons 0.022
应该验证配置参数 0.012
shouldCreateInProcClasspath 0.007
shouldExistTmp 目录 0.301
正确的模块描述符 0.034
noModuleDescriptorFile 0.019
shouldGenerateTestClasspath 0.432
shouldRetainInPluginArtifacts 0.006
损坏的模块描述符 0.005

DefaultForkConfigurationTest

shouldEscapeForkNumber 1.875
shouldNotRelocateBooterClass 0.087
应该没有逃避 0.076
shouldEscapeThreadNumber 0.073
shouldBeEmptyArgLine 0.084
shouldBeWithEscaping 0.072
shouldBeNullArgLine 0.088
shouldBeWhitespaceInsteadOfNewLines 0.058
shouldRelocateBooterClassWhenShadefire 0.006
shouldBeEmptyArgLineInsteadOfNewLines 0.063

JarManifestForkConfigurationTest

应该EscapeUri 0.616
相对类路径WindowsSimple 0.996
relativeClasspathWindowsTricky 0.003
交叉驱动器窗口 0.052
shouldRelativizeOnRealPlatform 0
relativeClasspathUnixTricky 0.011
relativeClasspathUnixSimple 0.01
shouldMakeRelativeUriOnRealPlatform 0.001
shouldMakeAbsoluteUriOnRealPlatform 0.002

ModularClasspathForkConfigurationTest

应该创建模块化参数文件 0.015

AbstractSurefireMojoJava7PlusTest

shouldHaveStartupConfigForModularClasspathAndTestDescriptor 3.004
testAllProviderInfo 0.145
shouldHaveStartupConfigForModularClasspath 0.135

AbstractSurefireMojoToolchainsTest

shouldReturnNoToolchainInMaven32 1.806
shouldThrowMaven33x工具链 0.015
shouldGetMaven33xToolchain 0.023
没有Jvm和工具链 0.204
shouldChangeJavaHomeFromJvm 0.011
shouldFailWithWrongJvmExecPath 0.003
shouldCallMaven33xMethodWhenSpecSet 0.613
shouldFallthroughToBuildContextWhenNoSpecSet 0.001
shouldChangeJavaHomeFromToolchain 0.054
shouldNotChangeJavaHomeFromJvmIfAlreadySet 0.002
shouldNotChangeJavaHomeFromToolchainIfAlreadySet 0.01

ScannerUtilTest

shouldConvertJarFileResourceToJavaClassName 0.001
应该是类文件 0

MojoMocklessTest

scanDependenciesShouldReturnNullWithEmptyTestJAR 0.011
scanDependenciesShouldReturnClassWithExistingTestJAR 0.014
scanMultipleDependencies 0.019
scanDependenciesShouldReturnNullWithWAR 0.002
testForkCount 计算 0
scanDependenciesShouldReturnNull 0
scanDependenciesShouldReturnNullWithExistingWAR 0.001
scanDependenciesShouldReturnNullAfterMissingBuildArtifact 0
testGetStartupReportConfiguration2 0.004
测试叉模式 0.002
scanDependenciesShouldReturnClassWithDirectory 0.005
testGetStartupReportConfiguration 0.001

ForkClientTest

shouldReceiveStdErrNewLine 0.068
应该发送测试失败 0.056
shouldAcquireNextTest 0.002
应该LogConsole警告 0.003
应该有可能杀死 0.004
shouldReceiveStdOutNewLine 0.002
shouldSendTestsetCompleted 0.028
shouldFailOnNPE 0
shouldSendTestsetStartingKilled 0.007
shouldLogConsoleDebug 0.001
shouldLogConsoleError 0.002
shouldSendTestStarting 0.005
shouldReceiveStdErr 0.002
应该接收标准输出 0.001
shouldLogJvmMessageAndProcessEvent 0.007
shouldNotifyWithBye 0.002
shouldLogUnorderedErrors 0.005
应该StopOnNextTest 0.001
shouldSendTestsetStarting 0.006
应该发送系统属性 0.002
应该发送测试假设失败 0.005
应该LogJvmError1 0.004
应该LogJvmError2 0.004
应该LogJvmError3 0.003
应该LogJvmError4 0.003
应该LogJvmError5 0.004
应该LogJvmError6 0.003
shouldLogJvmMessage 0.005
shouldLogConsoleErrorWithStackTrace 0.004
shouldSendTestSucceeded 0.004
应该发送测试错误 0.004
应该发送测试跳过 0.004
shouldLogConsoleInfo 0.001

ForkedProcessEventNotifierTest$ReportEntryTest

测试报告条目操作 1.876

ForkedProcessEventNotifierTest$DecoderOperationsTest

测试错误 2.031
测试控制台 0.004
testStdOutStreamPrintWithNull 0.006
应该发送再见事件 0.004
testStdOutStreamPrintln 0.001
应该有系统属性 0.021
shouldHandleErrorAfterNullLine 0
testErrorWithException 0.005
应该SendStopOnNextTestEvent 0.002
应该发送下一个测试事件 0.001
测试创建报告条目 0.055
testStdOutStreamPrint 0.002
testStdOutStreamPrintlnWithNull 0.002
testErrorWithStackTraceWriter 0.001
shouldCorrectlyDecodeStackTracesWithEmptyStringTraceMessages 0.007
应该是万无一失的 0
应该处理退出 0.003
测试调试 0.001
测试标准输出流 0.002
测试警告 0.001
testStdErrStream 0.001
shouldCountSameNumberOfSystemProperties 0.003
shouldRecognizeEmptyStream4ReportEntry 0.001
shouldHandleErrorAfterUnknownOperation 0.027

ConsoleOutputReporterTest

shouldCreateJUnit5ConsoleListener 0.001
shouldCloneJUnit5ConsoleReporter 0.001
应该AssertToStringConsoleReporter 0
shouldCloneConsoleReporter 0.001
shouldAssertToStringJUnit5ConsoleReporter 0
shouldCreateConsoleListener 0

无状态记者测试

shouldCreateJUnit5ConsoleListener 0.003
应该CloneJUnit5XmlReporter 0
shouldAssertToStringJUnit5ConsoleReporter 0
应该AssertToStringXmlReporter 0
shouldCreateConsoleListener 0.001
应该CloneXmlReporter 0

测试集统计测试

shouldConcatenateWithTestGroup 1.24
shouldConcatenateWithJUnit5TestGroup 0.002

StatelessTestsetInfoReporterTest

应该AssertToStringReporter 1.728
shouldCreateFileReporterListener 0.007
应该克隆JUnit5Reporter 0.007
应该克隆记者 0.001
shouldReportTestset生命周期 0.093
shouldCreateConsoleReporterListener 0.001
shouldAssertToStringJUnit5Reporter 0

普通反射器测试

shouldProxyConsoleLogger 0.088
创建ReportingReporterFactory 0.002
testCreateConsoleLogger 0.001

ForkStarterTest

processShouldExitWithoutSayingGoodBye 0.487
processShouldWaitForAck 0.261

ForkChannelTest

shouldRequestReplyMessagesViaTCP 0.103

StreamFeederTest

应该失败线程 0.022
shouldFailWithoutData 0
shouldEncodeCommandToStream 0.003
shouldFailWithData 0

E2E测试

测试 6.935