在 GitHub 上叉我

万无一失的报告

概括

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


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

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


包装清单

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


包裹 测试 错误 失败 跳过 成功率 时间
org.apache.maven.surefire.booter 113 0 0 0 100% 8.651
org.apache.maven.surefire.booter.spi 46 0 0 0 100% 0.291

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

org.apache.maven.surefire.booter

班级 测试 错误 失败 跳过 成功率 时间
CommandReaderTest 6 0 0 0 100% 0.865
PpidCheckerTest 15 0 0 0 100% 2.512
SystemUtilsTest$MockTest 2 0 0 0 100% 2.177
SystemUtilsTest$PlainUnitTests 23 0 0 0 100% 0.032
隔离类加载器测试 1 0 0 0 100% 0.023
ForkedBooterTest 12 0 0 0 100% 0.656
ForkedBooterMockTest 9 0 0 0 100% 2.333
BooterDeserializerTest 1 0 0 0 100% 0.01
类路径测试 15 0 0 0 100% 0.007
属性包装测试 5 0 0 0 100% 0.001
SurefireReflectorTest 24 0 0 0 100% 0.035

org.apache.maven.surefire.booter.spi

班级 测试 错误 失败 跳过 成功率 时间
LegacyMasterProcessChannelDecoderTest 15 0 0 0 100% 0.017
LegacyMasterProcessChannelEncoderTest 31 0 0 0 100% 0.274

测试用例

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

CommandReaderTest

两个迭代器 0.356
stopBeforeReadInThread 0.108
shouldAwaitReaderUp 0.042
readTwoClassesInThread 0.102
读JustOneClass 0.13
许多类 0.127

PpidCheckerTest

shouldBeTypeNull 0.027
shouldBeTypePing 0.003
shouldBeTypeAll 0
canExecuteUnixPs 0.028
shouldNotFindSuchPID 0.02
应该有PidAtBegin 0.609
shouldHaveSystemPathToWmicOnWindows 0.009
shouldParseBusyboxHoursEtime 0.004
应该有Pid 1.615
shouldBeTypeNative 0
应该例外 0.001
不应该活着 0.195
不应该有效 0
应该解析Etime 0.001
应该停止 0

SystemUtilsTest$MockTest

应该一样Jdk9 2.168
应该不同Jdk9 0.009

SystemUtilsTest$PlainUnitTests

应该是PidOnJMX 0.002
shouldMatchJavaSpecVersion 0.003
应该是PidStatusOnBSD 0
shouldBeMockPidStatusOnBSD 0.003
应该是Java版本 0.001
shouldFindClassLoader 0.003
shouldBePlatformClassLoader 0.001
shouldExtractJdkHomeFromJreExec 0.002
shouldNotHaveJavaPath 0.001
shouldExtractJdkHomeFromJdk 0.003
shouldExtractJdkHomeFromJre 0
应该是Pid 0
应该在拼图上 0.002
shouldParseProprietaryReleaseFile 0.005
应该有JavaPath 0
shouldNotExtractJdkHomeFromJreExec 0.002
shouldBePidStatusOnLinux 0
shouldBeMockPidStatusOnLinux 0.003
shouldExtractJdkHomeFromRealPath 0.001
shouldExtractJdkHomeFromJavaExec 0
shouldNotExtractJdkHomeFromJavaExec 0
错误的JdkPath 0
shouldNotFindClassLoader 0

隔离类加载器测试

应该加载隔离类 0.023

ForkedBooterTest

测试线程转储 0.008
应该生成线程转储 0.001
testPropsNotExist 0.001
testPropsExist 0.606
测试屏障1 0.01
测试屏障2 0
shouldNotBeDebugMode 0
shouldReadSurefireProperties 0.009
shouldFindCurrentProcessName 0.004
测试调度器 0.017
应该创建调度程序 0
测试是调试 0

ForkedBooterMockTest

testFlushEventChannelOnExit 2.088
testMainWithError 0.07
shouldLookupLegacyDecoderFactory 0.053
shouldCheckNewPing 机制 0.006
shouldNotCloseChannelProcessorFactory 0.003
shouldLookupSurefireDecoderFactory 0.094
应该关闭ChannelProcessorFactory 0.003
shouldFailOnCloseChannelProcessorFactory 0.004
测试主要 0.012

BooterDeserializerTest

测试启动配置 0.01

类路径测试

testShouldJoinTwoNullClasspaths 0.001
testShouldNotBeAbleToRemoveElement 0
testDontLoadInNewClassLoader 0.001
测试紧凑日志 0
测试日志 0
testShouldWriteSeparatedElementsAsSystemProperty 0
testShouldNotAddNullAsClassPathElementUrl 0
testShouldAddNoDuplicateElements 0
testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths 0.001
testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements 0
testLoadInNewClassLoader 0.003
testShouldWriteEmptyPropertyForEmptyClasspath 0
testCloneShouldBeEqual 0.001
testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl 0
测试迭代器 0

属性包装测试

测试添加列表 0.001
testWriteToProperties 0
测试往返 0
testReadFromPropertiesWithEmptyProperties 0
testReadFromProperties 0

LegacyMasterProcessChannelDecoderTest

testDecoderRunClass 0.006
应该忽略损坏的标头 0.001
shouldNotDecodeCorruptedCommand 0.001
应该忽略损坏的流 0
应该解码两个命令 0.001
testDecoderShutdownWithExit 0.002
testDecoderShutdownWithKill 0
testDecoderTestsetFinished 0
testIncompleteCommandStart 0.002
testIncompleteCommand 0.004
testDecoderByeAck 0
testDecoderNoop 0
shouldSkipCorruptedCommand 0
testDecoderSkipSinceNextTest 0
testDecoderShutdownWithDefault 0

LegacyMasterProcessChannelEncoderTest

测试假设失败 0.213
testStdErrStreamLn 0
测试再见 0
测试错误 0.006
测试控制台警告 0.001
应该是万无一失的 0
测试获取下一个测试 0
测试发送操作码 0
报告条目 0.009
应该有系统属性 0.001
testStdErrStream 0
nullSafeThrowable 0.001
应该处理退出 0.001
shouldHandleExitWithTrimmedTrace 0.001
safeThrowableShouldBeEncoded 0.001
testStopOnNextTest 0.001
emptySafeThrowable 0.002
测试控制台错误日志1 0.006
测试控制台错误日志2 0.001
测试控制台错误日志3 0.002
测试集完成 0.004
测试失败 0.003
测试标准输出流 0.001
测试控制台调试 0
测试控制台错误 0.001
测试控制台信息 0
跳过测试 0.004
shouldCountSameNumberOfSystemProperties 0.005
testStdOutStreamLn 0
测试开始 0.005
测试成功 0.005

SurefireReflectorTest

testNullTestSuiteDefinition 0.014
testNullArtifactInfo 0
testSetDirectoryScannerParameters 0.003
testTestClassLoader 0
testInstantiateProvider 0.002
测试记者工厂 0.001
testConvertIfRunResult 0.001
testArtifactInfoAware 0
testSetTestSuiteDefinitionAware 0
testSetProviderPropertiesAware 0
testReporterFactoryAware 0.002
testSetSkipAfterFailureCount 0
测试报告器配置 0
testSetMainCliOptions 0.002
测试工件信息 0
testSetIfDirScannerAware 0
测试提供者属性 0
testNullRunOrderParameters 0
testTestClassLoaderAware 0
testShouldCreateFactoryWithoutException 0.002
测试运行订单参数 0
testSetSystemExitTimeout 0
测试测试套件定义 0.008
testNullSetDirectoryScannerParameters 0