Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
328 0 0 0 100% 49.01 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.plugin.surefire 102 0 0 0 100% 6.533 s
org.apache.maven.plugin.surefire.booterclient.lazytestprovider 15 0 0 0 100% 1.155 s
org.apache.maven.surefire.util 2 0 0 0 100% 0.002 s
org.apache.maven.plugin.surefire.booterclient 62 0 0 0 100% 6.014 s
org.apache.maven.plugin.surefire.report 27 0 0 0 100% 2.253 s
org.apache.maven.surefire.extensions 8 0 0 0 100% 1.928 s
org.apache.maven.plugin.surefire.extensions 38 0 0 0 100% 18.24 s
org.apache.maven.surefire.spi 3 0 0 0 100% 0.020 s
org.apache.maven.plugin.surefire.runorder 7 0 0 0 100% 0.090 s
org.apache.maven.plugin.surefire.booterclient.output 36 0 0 0 100% 12.34 s
org.apache.maven.surefire.report 7 0 0 0 100% 0.176 s
org.apache.maven.surefire.stream 6 0 0 0 100% 0.006 s
org.apache.maven.plugin.surefire.util 15 0 0 0 100% 0.251 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.maven.plugin.surefire

- Class Tests Errors Failures Skipped Success Rate Time
SurefirePropertiesTest 4 0 0 0 100% 0 s
SurefireHelperTest 13 0 0 0 100% 0.040 s
AbstractSurefireMojoTest 27 0 0 0 100% 2.714 s
AbstractSurefireMojoJava7PlusTest 4 0 0 0 100% 1.680 s
AbstractSurefireMojoToolchainsTest 11 0 0 0 100% 1.844 s
MojoMocklessTest 11 0 0 0 100% 0.032 s
CommonReflectorTest 3 0 0 0 100% 0.028 s
AbstractSurefireMojoJunitCoreProvidersInfoTest 16 0 0 0 100% 0.165 s
AbstractSurefireMojoProvidersInfoTest 13 0 0 0 100% 0.030 s

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

- Class Tests Errors Failures Skipped Success Rate Time
TestProvidingInputStreamTest 5 0 0 0 100% 1.145 s
TestLessInputStreamBuilderTest 10 0 0 0 100% 0.010 s

org.apache.maven.surefire.util

- Class Tests Errors Failures Skipped Success Rate Time
RelocatorTest 2 0 0 0 100% 0.002 s

org.apache.maven.plugin.surefire.booterclient

- Class Tests Errors Failures Skipped Success Rate Time
ForkingRunListenerTest 15 0 0 0 100% 0.070 s
ForkConfigurationTest 9 0 0 0 100% 0.160 s
BooterDeserializerStartupConfigurationTest 7 0 0 0 100% 0.040 s
BooterDeserializerProviderConfigurationTest 7 0 0 0 100% 0.040 s
DefaultForkConfigurationTest 10 0 0 0 100% 1.495 s
JarManifestForkConfigurationTest 10 0 0 0 100% 3.261 s
ModularClasspathForkConfigurationTest 1 0 0 0 100% 0.008 s
ForkStarterTest 2 0 0 0 100% 0.940 s
ChecksumCalculatorTest 1 0 0 0 100% 0 s

org.apache.maven.plugin.surefire.report

- Class Tests Errors Failures Skipped Success Rate Time
WrappedReportEntryTest 10 0 0 0 100% 0 s
StatelessXmlReporterTest 10 0 0 0 100% 0.980 s
DefaultReporterFactoryTest 4 0 0 0 100% 0.070 s
TestSetStatsTest 3 0 0 0 100% 1.203 s

org.apache.maven.surefire.extensions

- Class Tests Errors Failures Skipped Success Rate Time
StatelessTestsetInfoReporterTest 7 0 0 0 100% 1.884 s
ForkChannelTest 1 0 0 0 100% 0.044 s

org.apache.maven.plugin.surefire.extensions

- Class Tests Errors Failures Skipped Success Rate Time
ForkedProcessEventNotifierTest$ReportEntryTest 1 0 0 0 100% 2.611 s
ForkedProcessEventNotifierTest$DecoderOperationsTest 19 0 0 0 100% 1.274 s
ConsoleOutputReporterTest 6 0 0 0 100% 0 s
StatelessReporterTest 6 0 0 0 100% 0.004 s
StreamFeederTest 2 0 0 0 100% 0.032 s
E2ETest 3 0 0 0 100% 6.271 s
EventConsumerThreadTest 1 0 0 0 100% 8.045 s

org.apache.maven.surefire.spi

- Class Tests Errors Failures Skipped Success Rate Time
SPITest 3 0 0 0 100% 0.020 s

org.apache.maven.plugin.surefire.runorder

- Class Tests Errors Failures Skipped Success Rate Time
RunEntryStatisticsMapTest 7 0 0 0 100% 0.090 s

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

- Class Tests Errors Failures Skipped Success Rate Time
ForkClientTest 33 0 0 0 100% 0.289 s
ThreadedStreamConsumerTest 3 0 0 0 100% 12.05 s

org.apache.maven.surefire.report

- Class Tests Errors Failures Skipped Success Rate Time
RunStatisticsTest 1 0 0 0 100% 0 s
FileReporterTest 2 0 0 0 100% 0.027 s
ConsoleOutputFileReporterTest 4 0 0 0 100% 0.149 s

org.apache.maven.surefire.stream

- Class Tests Errors Failures Skipped Success Rate Time
EventDecoderTest 6 0 0 0 100% 0.006 s

org.apache.maven.plugin.surefire.util

- Class Tests Errors Failures Skipped Success Rate Time
SpecificFileFilterTest 4 0 0 0 100% 0.005 s
DirectoryScannerTest 5 0 0 0 100% 0.050 s
DependenciesScannerTest 4 0 0 0 100% 0.195 s
ScannerUtilTest 2 0 0 0 100% 0.001 s

Test Cases

[Summary] [Package List] [Test Cases]

RelocatorTest

testRelocation 0.002 s
testFoo 0 s

RunStatisticsTest

testSetRunStatistics 0 s

FileReporterTest

testFileNameWithSuffix 0.025 s
testFileNameWithoutSuffix 0.002 s

ConsoleOutputFileReporterTest

testConcurrentAccessReportFile 0.125 s
testNullReportFile 0.004 s
testFileNameWithSuffix 0.015 s
testFileNameWithoutSuffix 0.005 s

SurefirePropertiesTest

testKeys 0 s
testConstructWithOther 0 s
testKeysReinsert 0 s
testPutAll 0 s

SpecificFileFilterTest

testMatchSingleSegmentWildcard 0.005 s
testMatchSingleSegmentWordWildcard 0 s
testMatchSingleCharacterWildcard 0 s
testMatchMultiSegmentWildcard 0 s

DirectoryScannerTest

locateTestClasses["**/*ZT*A.java" should count is <3> classes] 0.020 s
locateTestClasses["**/*ZT*A.java#testMethod" should count is <3> classes] 0.010 s
locateTestClasses["**/*ZT?A.java#testMethod, !*ZT2A" should count is <2> classes] 0.005 s
locateTestClasses["**/*ZT?A.java#testMethod, !*ZT2A#testMethod" should count is <3> classes] 0.010 s
locateTestClasses["#testMethod" should count is a value equal to or greater than <3> classes] 0.005 s

DependenciesScannerTest

testLocateTestClassesFromMultipleArtifactsWithType 0.156 s
testLocateTestClassesFromArtifactWithClassifier 0.009 s
testLocateTestClassesFromMultipleVersionsOfArtifact 0.020 s
testLocateTestClasses 0.010 s

RunEntryStatisticsMapTest

testPrioritizedClassRuntime 0 s
testMultiLineTestMethodName 0.070 s
testDeserializeClass 0.010 s
testSerialize 0.010 s
testCombinedMethodNames 0 s
testPrioritizedFailureFirst 0 s
testSerializeClass 0 s

WrappedReportEntryTest

testElapsed 0 s
testEqualDisplayNames 0 s
testDisplayNames 0 s
testGetReportNameWithGroupWhenSourceTextIsNull 0 s
testClassNameOnly 0 s
testGetReportNameWithGroupWhenSourceTextIsBlank 0 s
testGetReportNameWithGroupWhenSourceTextIsEmpty 0 s
testRegular 0 s
testGetReportNameWithParams 0 s
testGetReportNameWithGroupWhenSourceTextIsProvided 0 s

StatelessXmlReporterTest

testFreeOnDeferredFile 0.810 s
testWritesOnDeferredFile 0.030 s
testAllFieldsSerialized 0.060 s
testOutputRerunFlakyFailure 0.040 s
testSyncOnDeferredFile 0 s
testFileNameWithoutSuffix 0.010 s
testCacheOnDeferredFile 0.010 s
testOutputRerunFlakyAssumption 0.010 s
testNoWritesOnDeferredFile 0 s
testLengthOnDeferredFile 0.010 s

DefaultReporterFactoryTest

testCreateReporterWithZeroStatistics 0.030 s
testMergeTestHistoryResult 0.040 s
testGetTestResultType 0 s
testLogger 0 s

ForkingRunListenerTest

testFailedWithCommaInMessage 0.050 s
testAssumptionFailure 0 s
testSetStarting 0 s
testFailure 0 s
testSystemProperties 0 s
testMultipleEntries 0 s
test2DifferentChannels 0.010 s
testConsole 0 s
testConsoleOutput 0 s
testSetCompleted 0 s
testFailed 0.010 s
testSucceeded 0 s
testFailedWithUnicodeEscapeInMessage 0 s
testSkipped 0 s
testStarting 0 s

ForkConfigurationTest

testCreateCommandLine_UseSystemClassLoaderForkOnce_ShouldConstructManifestOnlyJar 0.095 s
testEnvInterpolateForkNumber 0.015 s
testExceptionWhenCurrentDirectoryIsNotRealDirectory 0 s
testEnv 0 s
testArglineWithNewline 0.020 s
testCliArgs 0.010 s
testDebugLine 0 s
testCurrentWorkingDirectoryPropagationIncludingForkNumberExpansion 0.020 s
testExceptionWhenCurrentDirectoryCannotBeCreated 0 s

BooterDeserializerStartupConfigurationTest

testClassPathConfiguration 0.020 s
testProcessChecker 0 s
testProvider 0 s
testClassLoaderConfiguration 0 s
testClassLoaderConfigurationTrues 0.010 s
testProcessCheckerAll 0.010 s
testProcessCheckerNull 0 s

BooterDeserializerProviderConfigurationTest

testTestForFork 0.010 s
testDirectoryScannerParams 0.010 s
testTestRequest 0 s
testReporterConfiguration 0.010 s
testFailIfNoTests 0 s
testTestArtifact 0.005 s
testTestForForkWithMultipleFiles 0.005 s

TestProvidingInputStreamTest

shouldReadTest 0.005 s
shouldDecodeTwoCommands 0 s
finishedTestsetShouldNotBlock 0.120 s
emptyStreamShouldWaitUntilClosed 1.020 s
closedStreamShouldReturnNullAsEndOfStream 0 s

TestLessInputStreamBuilderTest

shouldDecodeTwoCommands 0 s
shouldThrowUnsupportedException1 0 s
shouldThrowUnsupportedException2 0.010 s
shouldThrowUnsupportedException3 0 s
shouldThrowUnsupportedException4 0 s
shouldThrowUnsupportedException5 0 s
shouldThrowUnsupportedException6 0 s
combinedCommands 0 s
immediateCommands 0 s
cachableCommandsShouldBeIterableWithStillOpenIterator 0 s

SPITest

shouldLoad2SpiObjects 0.020 s
shouldNotLoadEmptySpi 0 s
shouldNotLoadSpiDoesNotExist 0 s

SurefireHelperTest

shouldCloneDumpFiles 0 s
shouldHandleTestFailure 0 s
shouldHandleFailWithoutExitCode 0.040 s
shouldReplaceForkNumberPath 0 s
shouldReplaceLongForkNumberPath 0 s
shouldHandleFailIfJvmNonZeroExitCode 0 s
shouldBeThreeDumpFiles 0 s
passesIfFlakesAreWithinThreshold 0 s
testConstants 0 s
shouldHandleFailIfNoTests 0 s
failsIfThereAreTooManyFlakes 0 s
reportsFailuresAndFlakes 0 s
shouldEscapeWindowsPath 0 s

AbstractSurefireMojoTest

correctModuleDescriptor 1.669 s
shouldCreateInProcClasspath 0.075 s
corruptedModuleDescriptor 0.005 s
shouldGenerateTestClasspath 0.352 s
shouldExistTmpDirectory 0.191 s
noModuleDescriptorFile 0 s
shouldRetainInPluginArtifacts 0.015 s
shouldShowArray 0.023 s
shouldShowMap 0.008 s
shouldSmartlyResolveJUnit5ProviderWithJupiterEngine 0.050 s
providerClasspathCachingIsNotSharedAcrossMojoInstances 0.046 s
shouldSmartlyResolveJUnit5ProviderWithJUnit5Engine 0.005 s
shouldSmartlyResolveJUnit5ProviderWithJUnit5Commons 0.045 s
shouldVerifyConfigParameters 0.005 s
shouldFilterTestsOnExcludesFile 0.054 s
shouldFilterTestsOnExcludes 0.006 s
shouldUseOnlySpecificTests 0 s
shouldFilterTestsOnIncludesFile 0.020 s
shouldSmartlyResolveJUnit5ProviderWithJUnit4 0.010 s
shouldHaveStartupConfigForNonModularClasspath 0.025 s
shouldSmartlyResolveJUnit5ProviderWithJupiterApi 0.015 s
shouldSmartlyResolveJUnit5ProviderWithVintage 0.010 s
shouldConvertJunitEngineParameters 0 s
shouldCreateStartupConfigWithModularPath 0.070 s
shouldNotPerformMethodFilteringOnIncludes 0 s
shouldRetainInProcArtifactsUnique 0 s
shouldSmartlyResolveJUnit5ProviderWithJupiterEngineInPluginDependencies 0.015 s

DefaultForkConfigurationTest

shouldBeEmptyArgLineInsteadOfNewLines 1.170 s
shouldBeWhitespaceInsteadOfNewLines 0.055 s
shouldRelocateBooterClassWhenShadefire 0.060 s
shouldBeWithoutEscaping 0.040 s
shouldEscapeThreadNumber 0.040 s
shouldBeNullArgLine 0.030 s
shouldBeWithEscaping 0.035 s
shouldNotRelocateBooterClass 0 s
shouldEscapeForkNumber 0.030 s
shouldBeEmptyArgLine 0.035 s

JarManifestForkConfigurationTest

shouldRelativizeOnRealPlatform 0.336 s
crossDriveWindows 0.601 s
shouldMakeAbsoluteUriOnRealPlatform 0 s
shouldEscapeUri 0 s
relativeClasspathWindowsSimple 0.016 s
relativeClasspathWindowsTricky 0 s
uncWindows 2.299 s
shouldMakeRelativeUriOnRealPlatform 0.001 s
relativeClasspathUnixSimple 0.002 s
relativeClasspathUnixTricky 0.006 s

ModularClasspathForkConfigurationTest

shouldCreateModularArgsFile 0.008 s

AbstractSurefireMojoJava7PlusTest

shouldHaveStartupConfigForModularClasspath 1.612 s
shouldHaveStartupConfigForModularClasspathAndTestDescriptor 0.019 s
testAllProviderInfo 0.048 s
shouldJoinStrings 0.001 s

AbstractSurefireMojoToolchainsTest

shouldFallthroughToBuildContextWhenNoSpecSet 0.969 s
shouldNotChangeJavaHomeFromToolchainIfAlreadySet 0.305 s
shouldNotChangeJavaHomeFromJvmIfAlreadySet 0.006 s
shouldCallMaven33xMethodWhenSpecSet 0.357 s
shouldChangeJavaHomeFromToolchain 0.001 s
withoutJvmAndToolchain 0.067 s
shouldFailWithWrongJvmExecPath 0.006 s
shouldReturnNoToolchainInMaven32 0.130 s
shouldGetMaven33xToolchain 0.001 s
shouldChangeJavaHomeFromJvm 0.002 s
shouldThrowMaven33xToolchain 0 s

ScannerUtilTest

shouldConvertJarFileResourceToJavaClassName 0.001 s
shouldBeClassFile 0 s

MojoMocklessTest

scanDependenciesShouldReturnNullWithEmptyTestJAR 0.006 s
scanDependenciesShouldReturnClassWithExistingTestJAR 0.010 s
scanMultipleDependencies 0.009 s
scanDependenciesShouldReturnNullWithWAR 0 s
testForkCountComputation 0.001 s
scanDependenciesShouldReturnNull 0 s
scanDependenciesShouldReturnNullWithExistingWAR 0.001 s
scanDependenciesShouldReturnNullAfterMissingBuildArtifact 0 s
testGetStartupReportConfiguration2 0.002 s
scanDependenciesShouldReturnClassWithDirectory 0.003 s
testGetStartupReportConfiguration 0 s

ForkClientTest

shouldReceiveStdErrNewLine 0.035 s
shouldSendTestFailed 0.041 s
shouldAcquireNextTest 0.002 s
shouldLogConsoleWarning 0.001 s
shouldBePossibleToKill 0.001 s
shouldReceiveStdOutNewLine 0.001 s
shouldSendTestsetCompleted 0.032 s
shouldFailOnNPE 0 s
shouldSendTestsetStartingKilled 0.002 s
shouldLogConsoleDebug 0.001 s
shouldLogConsoleError 0.001 s
shouldSendTestStarting 0.005 s
shouldReceiveStdErr 0.001 s
shouldReceiveStdOut 0.001 s
shouldLogJvmMessageAndProcessEvent 0.103 s
shouldNotifyWithBye 0.001 s
shouldLogUnorderedErrors 0.016 s
shouldStopOnNextTest 0.002 s
shouldSendTestsetStarting 0.002 s
shouldSendSystemProperty 0.001 s
shouldSendTestAssumptionFailure 0.005 s
shouldLogJvmError1 0.002 s
shouldLogJvmError2 0.002 s
shouldLogJvmError3 0.001 s
shouldLogJvmError4 0.003 s
shouldLogJvmError5 0.004 s
shouldLogJvmError6 0.007 s
shouldLogJvmMessage 0.002 s
shouldLogConsoleErrorWithStackTrace 0.001 s
shouldSendTestSucceeded 0.002 s
shouldSendTestError 0.003 s
shouldSendTestSkipped 0.008 s
shouldLogConsoleInfo 0 s

ForkedProcessEventNotifierTest$ReportEntryTest

testReportEntryOperations 2.611 s

ForkedProcessEventNotifierTest$DecoderOperationsTest

testError 1.106 s
testConsole 0 s
testStdOutStreamPrint 0.008 s
testStdOutStreamPrintlnWithNull 0.004 s
testErrorWithException 0.004 s
shouldSendByeEvent 0.004 s
testErrorWithStackTraceWriter 0.004 s
testStdOutStreamPrintWithNull 0.008 s
testStdOutStreamPrintln 0.004 s
shouldSendNextTestEvent 0 s
shouldSendStopOnNextTestEvent 0.004 s
shouldHandleErrorAfterNullLine 0 s
testWarning 0.008 s
testDebug 0 s
shouldHandleExit 0.048 s
testStdOutStream 0.004 s
testStdErrStream 0 s
shouldHandleErrorAfterUnknownOperation 0.012 s
shouldCorrectlyDecodeStackTracesWithEmptyStringTraceMessages 0.056 s

ConsoleOutputReporterTest

shouldCreateJUnit5ConsoleListener 0 s
shouldCloneJUnit5ConsoleReporter 0 s
shouldAssertToStringConsoleReporter 0 s
shouldCloneConsoleReporter 0 s
shouldAssertToStringJUnit5ConsoleReporter 0 s
shouldCreateConsoleListener 0 s

StatelessReporterTest

shouldCreateJUnit5ConsoleListener 0.004 s
shouldCloneJUnit5XmlReporter 0 s
shouldAssertToStringJUnit5ConsoleReporter 0 s
shouldAssertToStringXmlReporter 0 s
shouldCreateConsoleListener 0 s
shouldCloneXmlReporter 0 s

TestSetStatsTest

shouldConcatenateWithTestGroup 1.195 s
shouldConcatenateWithJUnit5TestGroup 0.008 s
shouldFallBackToTestGroupIfJUnit5TestGroupIsNull 0 s

StatelessTestsetInfoReporterTest

shouldCloneJUnit5Reporter 1.731 s
shouldAssertToStringReporter 0 s
shouldCreateFileReporterListener 0.012 s
shouldCloneReporter 0 s
shouldReportTestsetLifecycle 0.137 s
shouldCreateConsoleReporterListener 0.004 s
shouldAssertToStringJUnit5Reporter 0 s

CommonReflectorTest

shouldProxyConsoleLogger 0.024 s
createReportingReporterFactory 0 s
testCreateConsoleLogger 0.004 s

ForkStarterTest

processShouldExitWithoutSayingGoodBye 0.396 s
processShouldWaitForAck 0.544 s

ForkChannelTest

shouldRequestReplyMessagesViaTCP 0.044 s

StreamFeederTest

shouldFailThread 0.032 s
shouldEncodeCommandToStream 0 s

E2ETest

shouldNotVerifyClient 0.052 s
endToEndTest 6.217 s
shouldVerifyClient 0.002 s

ThreadedStreamConsumerTest

testQueueSynchronizer 4.622 s
testBasicStatus 3.000 s
testThreadedStreamConsumer 4.431 s

EventDecoderTest

shouldMapEventTypes 0 s
shouldCreateEvent 0 s
shouldRecognizeEmptyStream4ReportEntry 0 s
shouldMapRunModes 0 s
testCreatingReportEntry 0.006 s
shouldMapEventTypeToSegmentType 0 s

EventConsumerThreadTest

performanceTest 8.045 s

ChecksumCalculatorTest

testGetSha1 0 s

AbstractSurefireMojoJunitCoreProvidersInfoTest

test[0: junit=null, junitDep=null, parallel=false, groups=false then isApplicable=false] 0.157 s
test[1: junit=null, junitDep=null, parallel=true, groups=false then isApplicable=false] 0 s
test[2: junit=null, junitDep=null, parallel=false, groups=true then isApplicable=false] 0.001 s
test[3: junit=null, junitDep=null, parallel=true, groups=true then isApplicable=false] 0 s
test[4: junit=4.5, junitDep=null, parallel=false, groups=false then isApplicable=false] 0.001 s
test[5: junit=4.7, junitDep=null, parallel=false, groups=false then isApplicable=false] 0 s
test[6: junit=4.5, junitDep=null, parallel=true, groups=false then isApplicable=false] 0.001 s
test[7: junit=4.7, junitDep=null, parallel=true, groups=false then isApplicable=true] 0.005 s
test[8: junit=4.5, junitDep=null, parallel=false, groups=true then isApplicable=false] 0 s
test[9: junit=4.7, junitDep=null, parallel=false, groups=true then isApplicable=true] 0 s
test[10: junit=null, junitDep=4.5, parallel=false, groups=false then isApplicable=false] 0 s
test[11: junit=null, junitDep=4.7, parallel=false, groups=false then isApplicable=false] 0 s
test[12: junit=null, junitDep=4.5, parallel=true, groups=false then isApplicable=false] 0 s
test[13: junit=null, junitDep=4.7, parallel=true, groups=false then isApplicable=true] 0 s
test[14: junit=null, junitDep=4.5, parallel=false, groups=true then isApplicable=false] 0 s
test[15: junit=null, junitDep=4.7, parallel=false, groups=true then isApplicable=true] 0 s

AbstractSurefireMojoProvidersInfoTest

jUnit4ProviderJunit3WithJDepArtifact 0.029 s
jUnitPlatformProviderApplicable 0 s
jUnitPlatformProviderNotApplicable 0 s
jUnitPlatformProviderNotApplicableForPlatformRunner 0 s
testNgProviderNotApplicable 0 s
defaultProviderAreAlwaysAvailable 0 s
testNgProviderApplicable 0 s
jUnit4ProviderJunit45AsDependencyArtifact 0.001 s
jUnit4ProviderJunit3AsDependencyArtifact 0 s
jUnit4ProviderJunit47AsDependencyArtifact 0 s
jUnit4ProviderNullArtifacts 0 s
jUnit4ProviderOnlyJunitDepArtifact 0 s
dynamicProviderAreAlwaysApplicable 0 s