万无一失的报告

概括

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


测试 错误 失败 跳过 成功率 时间
92 0 0 1 98.913% 23.822

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


包装清单

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


包裹 测试 错误 失败 跳过 成功率 时间
org.apache.maven.shared.invoker 92 0 0 1 98.913% 23.822

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

org.apache.maven.shared.invoker

班级 测试 错误 失败 跳过 成功率 时间
DefaultInvokerTest 8 0 0 0 100% 23.366
MavenCommandLineBuilderTest 50 0 0 1 98% 0.449
SystemOutHandlerTest 3 0 0 0 100% 0.003
SystemOutLoggerTest 31 0 0 0 100% 0.004

测试用例

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

DefaultInvokerTest

testSpaceLocalRepo 1.771
测试空间Pom 1.903
测试空间设置 1.745
testBuildShouldSucceed 5.012
testBuildShouldFail 3.438
testBuildShouldTimeout 5.012
testSpaceAndSpecialCharPom 1.824
测试空间属性 2.598

MavenCommandLineBuilderTest

testShouldSetWorkingDirectoryFromRequest 0.286
testProjectsAndAlsoMakeAndAlsoMakeDependents 0.002
testShouldSetLocalRepoLocationFromRequest 0.003
testShouldNotSpecifyFileOptionUsingStandardPomInBasedir 0.014
testAlsoMake 0.002
testShouldSetOfflineFlagFromRequest 0.002
testShouldSetEnvVar_MAVEN_TERMINATE_CMD 0.008
testShouldUseDefaultPomFileWhenBasedirSpecifiedWithoutPomFileName 0.003
testShouldSetLocalRepoLocationGlobally 0.003
testShouldInsertActivatedProfiles 0.003
testShouldSpecifyFileOptionUsingNonStandardPomInBasedir 0.005
testAddShellEnvironment 0.004
testShouldUseSystemOutLoggerWhenNoneSpecified 0.002
testShouldSpecifyCustomToolchainsLocationFromRequest 0.004
testShouldSetStrictChecksumPolityFlagFromRequest 0.003
testShouldSpecifySingleGoalFromRequest 0.005
testShouldSpecifyCustomUserSettingsLocationFromRequest 0.004
testShouldSpecifyCustomGlobalSettingsLocationFromRequest 0.005
testProjectsAndAlsoMakeDependents 0.002
testShouldSetUpdateSnapshotsFlagFromRequest 0.002
testShouldSetDebugFlagFromRequest 0.002
testShouldSetLaxChecksumPolicyFlagFromRequest 0.002
testShouldSetFailNeverFlagFromRequest 0.002
testShouldSpecifyCustomPropertyFromRequest 0.002
testProjectsAndAlsoMake 0.002
testShouldSpecifyThreadsFromRequest 0.001
testShouldSetEnvVar_M2_HOME 0
得到:<[null]>,预期:每个项目都不为空
testShouldUseDefaultOfFailFastWhenSpecifiedInRequest 0.001
testShouldSpecifyFileOptionUsingNonStandardPomFileLocation 0.006
testShouldSpecifyCustomPropertyWithSpacesInKeyFromRequest 0.002
testShouldSpecifyCustomPropertyWithSpacesInValueFromRequest 0.002
testShouldFailToSetLocalRepoLocationFromRequestWhenItIsAFile 0.003
testAlsoMakeDependents 0.001
testShouldSetFailAtEndFlagFromRequest 0.002
testShouldNotSpecifyFileOptionUsingStandardPomFileLocation 0.004
testDebugOptionShouldMaskShowErrorsOption 0.002
testShouldSetResumeFrom 0.002
testBuildTypicalMavenInvocationEndToEnd 0.007
testShouldFailIfLoggerSetToNull 0.002
testRequestProvidedLocalRepoLocationShouldOverrideGlobal 0.004
testShouldSetQuietFlagFromRequest 0.001
testShouldSpecifyPomFileWhenBasedirSpecifiedWithPomFileName 0.004
testShouldSetErrorFlagFromRequest 0.002
testRequestProvidedWorkingDirectoryShouldOverrideGlobal 0.003
testShouldFindDummyMavenExecutable 0.005
testShouldSetWorkingDirectoryGlobally 0.002
testMvnCommand 0.003
testShouldSpecifyTwoGoalsFromRequest 0.002
testShouldSetBatchModeFlagFromRequest 0.001
testShouldFailToSetLocalRepoLocationGloballyWhenItIsAFile 0.003

SystemOutHandlerTest

testConsumeNullLine 0.001
testConsumeWithAlwaysFlush 0
testConsumeWithoutAlwaysFlush 0

SystemOutLoggerTest

testDebugWithMessageNullError 0
testDebugWithMessageAndError 0
testInfoWithNullMessageError 0
testFatalErrorWithNullMessageAndNoError 0
testFatalErrorWithNullMessageError 0
testDebugWithMessageOnly 0
testInfoWithNullMessageAndNoError 0
测试阈值信息 0
测试阈值警告 0.001
testErrorWithMessageNullError 0
testWarnWithNullMessageError 0
testErrorWithNullMessageAndNoError 0
testInfoWithMessageOnly 0
testInfoWithMessageNullError 0
testFatalErrorWithMessageNullError 0
testWarnWithMessageAndError 0
testDebugWithNullMessageAndNoError 0
testDefaultThresholdInfo 0
testWarnWithMessageOnly 0
testInfoWithMessageAndError 0
测试阈值调试 0
测试阈值错误 0
testThresholdFatal 0
testErrorWithMessageOnly 0
testDebugWithNullMessageError 0
testWarnWithMessageNullError 0
testFatalErrorWithMessageAndError 0
testErrorWithMessageAndError 0
testFatalErrorWithMessageOnly 0
testWarnWithNullMessageAndNoError 0
testErrorWithNullMessageError 0

失败详情

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


testShouldSetEnvVar_M2_HOME
跳过:得到:<[null]>,预期:每个项目都不为空