Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
213 0 0 6 97.2% 12.52 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.surefire.api.report 16 0 0 4 75.0% 0.041 s
org.apache.maven.surefire.api.stream 32 0 0 0 100% 8.220 s
org.apache.maven.surefire.api.util.internal 61 0 0 1 98.4% 2.752 s
org.apache.maven.surefire.api.runorder 2 0 0 0 100% 0.027 s
org.apache.maven.surefire.api.util 27 0 0 1 96.3% 0.640 s
org.apache.maven.surefire.api.suite 2 0 0 0 100% 0.022 s
org.apache.maven.surefire 4 0 0 0 100% 0.025 s
org.apache.maven.surefire.api.testset 68 0 0 0 100% 0.296 s
org.apache.maven.surefire.api.booter 1 0 0 0 100% 0.500 s

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

org.apache.maven.surefire.api.report

- Class Tests Errors Failures Skipped Success Rate Time
StackTraceProviderTest 12 0 0 0 100% 0.041 s
CategorizedReportEntryTest 4 0 0 4 0% 0 s

org.apache.maven.surefire.api.stream

- Class Tests Errors Failures Skipped Success Rate Time
AbstractStreamEncoderTest 6 0 0 0 100% 0.166 s
AbstractStreamDecoderTest 3 0 0 0 100% 0.108 s
AbstractStreamDecoderTest 23 0 0 0 100% 7.946 s

org.apache.maven.surefire.api.util.internal

- Class Tests Errors Failures Skipped Success Rate Time
ImmutableMapTest 2 0 0 0 100% 0.011 s
ChannelsWriterTest 1 0 0 0 100% 0.621 s
ObjectUtilsTest 1 0 0 0 100% 0.148 s
ConcurrencyUtilsTest 2 0 0 0 100% 0.022 s
ImmutableMapTest 1 0 0 0 100% 0.020 s
ImmutableMapTest 2 0 0 0 100% 0.091 s
ChannelsReaderTest 16 0 0 0 100% 0.617 s
ChannelsWriterTest 17 0 0 0 100% 0.060 s
ImmutableMapTest 2 0 0 0 100% 0.009 s
AsyncSocketTest 1 0 0 1 0% 0.011 s
ConcurrencyUtilsTest 2 0 0 0 100% 0.011 s
ImmutableMapTest 1 0 0 0 100% 0.003 s
ConcurrencyUtilsTest 0 0 0 0 0% 0.085 s
ChannelsWriterTest 1 0 0 0 100% 0.124 s
ChannelsWriterTest 4 0 0 0 100% 0.379 s
ChannelsReaderTest 6 0 0 0 100% 0.534 s
ConcurrencyUtilsTest 1 0 0 0 100% 0 s
ImmutableMapTest 1 0 0 0 100% 0.006 s

org.apache.maven.surefire.api.runorder

- Class Tests Errors Failures Skipped Success Rate Time
ThreadedExecutionSchedulerTest 2 0 0 0 100% 0.007 s
ThreadedExecutionSchedulerTest 0 0 0 0 0% 0.020 s

org.apache.maven.surefire.api.util

- Class Tests Errors Failures Skipped Success Rate Time
SureFireFileManagerTest 1 0 0 1 0% 0.008 s
RunOrderTest 2 0 0 0 100% 0.002 s
RunOrderCalculatorTest 1 0 0 0 100% 0.006 s
ReflectionUtilsTest 1 0 0 0 100% 0.085 s
DefaultDirectoryScannerTest 1 0 0 0 100% 0.079 s
TestsToRunTest 2 0 0 0 100% 0.001 s
TestsToRunTest 0 0 0 0 0% 0.079 s
ReflectionUtilsTest 2 0 0 0 100% 0.064 s
ScanResultTest 1 0 0 0 100% 0.069 s
TestsToRunTest 4 0 0 0 100% 0.027 s
ReflectionUtilsTest 4 0 0 0 100% 0.015 s
TempFileManagerTest 1 0 0 0 100% 0.081 s
RunOrderCalculatorTest 1 0 0 0 100% 0.004 s
RunOrderTest 2 0 0 0 100% 0.002 s
TempFileManagerTest 4 0 0 0 100% 0.106 s
RunOrderCalculatorTest 0 0 0 0 0% 0.012 s

org.apache.maven.surefire.api.suite

- Class Tests Errors Failures Skipped Success Rate Time
RunResultTest 2 0 0 0 100% 0.022 s

org.apache.maven.surefire

- Class Tests Errors Failures Skipped Success Rate Time
SpecificTestClassFilterTest 2 0 0 0 100% 0.021 s
SpecificTestClassFilterTest 2 0 0 0 100% 0.004 s

org.apache.maven.surefire.api.testset

- Class Tests Errors Failures Skipped Success Rate Time
TestListResolverTest 4 0 0 0 100% 0.090 s
FundamentalFilterTest 8 0 0 0 100% 0.012 s
TestListResolverTest 7 0 0 0 100% 0.010 s
ResolvedTestTest 3 0 0 0 100% 0.010 s
FundamentalFilterTest 2 0 0 0 100% 0.009 s
TestListResolverTest 2 0 0 0 100% 0.016 s
TestListResolverTest 8 0 0 0 100% 0.014 s
FundamentalFilterTest 9 0 0 0 100% 0.013 s
FundamentalFilterTest 1 0 0 0 100% 0.003 s
FundamentalFilterTest 4 0 0 0 100% 0.086 s
TestListResolverTest 4 0 0 0 100% 0.010 s
FundamentalFilterTest 8 0 0 0 100% 0.011 s
TestListResolverTest 8 0 0 0 100% 0.012 s

org.apache.maven.surefire.api.booter

- Class Tests Errors Failures Skipped Success Rate Time
ForkingRunListenerTest 1 0 0 0 100% 0.500 s

Test Cases

[Summary] [Package List] [Test Cases]

SureFireFileManagerTest

testCreateTempFile 0 s
- old not executing tests - to review -

RunOrderTest

testShouldThrowExceptionForInvalidName 0.001 s
testAsString 0.001 s

RunOrderCalculatorTest

testOrderTestClasses 0.006 s

TestListResolverTest

testNegativeNonRegexClassAndMethod 0.001 s
testMultipleExcludedClasses 0.001 s
testMakeRegex 0.001 s
testRegexRuleViolationInvalidClassPattern 0.002 s

ReflectionUtilsTest

shouldNotGetNonExistingConstructor 0.001 s

DefaultDirectoryScannerTest

testLocateTestClasses 0.035 s

ImmutableMapTest

testEntrySet 0.009 s
shouldNotHaveEqualEntry 0.002 s

TestsToRunTest

testGetTestSets 0 s
testGetClassByName 0.001 s

ChannelsWriterTest

shouldWriteArray 0.004 s

ObjectUtilsTest

shouldSupportSecurityManager 0.103 s

FundamentalFilterTest

testExcludes4 0 s
testExcludes5 0.002 s
testExcludes6 0.003 s
testExcludes7 0.003 s
testExcludes8 0.003 s
testExcludes9 0.001 s
testIncludes1 0 s
testIncludes2 0 s

TestListResolverTest

testShouldRunSuiteWithIncludedMethods 0.001 s
testClassFilter 0.002 s
testTestListResolverWithoutMethods 0.001 s
testRegexRuleViolationMultipleHashmarkWithClassConstraint 0.002 s
testRegexSanity1 0.003 s
testRegexSanity2 0.001 s
testRegexSanity3 0 s

ReflectionUtilsTest

shouldInvokeFallbackOnMethodChain 0.063 s
shouldNotInvokeStaticMethod 0.001 s

ScanResultTest

testWriteTo 0.020 s

TestsToRunTest

testContainsExactly 0.020 s
testContainsAtLeast 0.001 s
testTwoIterators 0.004 s
testToRunArray 0.002 s

ConcurrencyUtilsTest

countDownShouldBeUnchangedAsZeroNegativeTest 0.020 s
countDownToZeroShouldBeDecreasedByOneThreadModification 0.002 s

SpecificTestClassFilterTest

testMatchSingleSegmentWildcard 0.020 s
testMatchSingleSegmentWordWildcard 0.001 s

ImmutableMapTest

shouldNotRemoveNull 0.020 s

RunResultTest

testFailuresInFirstRun 0.020 s
testEmptySummaryShouldBeErrorFree 0.002 s

ResolvedTestTest

testEmptyMethodRegex 0.006 s
testFromFullyQualifiedClass 0.001 s
testEmptyClassRegex 0.001 s

FundamentalFilterTest

testExcludes2 0.007 s
testExcludes3 0.002 s

TestListResolverTest

testRegexRuleViolationEnclosedMethodSeparator 0.016 s
testNonRegexClassAndMethod 0 s

AbstractStreamEncoderTest

shouldComputeStreamPreemptiveLength 0.107 s
testWrite 0.001 s
testSendOpcode 0.001 s
testIntegerAsNull 0.002 s
testInteger 0.001 s
testEncodedString 0.002 s

TestListResolverTest

testDefaultPatternsNotMatching 0.002 s
testRemoveExclamationMark 0.001 s
testUnwrappedRegex 0.001 s
testRegexRuleViolationInvalidMethodPattern 0.001 s
testRegexRuleViolationQuotedHashMark 0.001 s
testBrokenPatternThrowsException 0.002 s
testAndFilters 0.003 s
testWildcard 0.003 s

FundamentalFilterTest

testIncludes3 0.001 s
testIncludes4 0.003 s
testIncludes5 0.001 s
testIncludes6 0.002 s
testIncludes7 0.001 s
testIncludes8 0.001 s
testIncludes9 0.001 s
testExcludes10 0.001 s
testExcludes11 0.002 s

AbstractStreamDecoderTest

shouldReadString 0.105 s
shouldDecode3BytesEncodedSymbol 0.002 s
shouldReadStringShiftedInput 0.001 s

ReflectionUtilsTest

shouldInvokeStaticMethod 0.005 s
shouldInvokeMethodChain 0.001 s
shouldReloadClass 0.005 s
shouldGetConstructor 0.004 s

TempFileManagerTest

testDefaultInstance 0.081 s

StackTraceProviderTest

strategyAvailabilityMatchesRuntime 0.008 s
zeroMaxFramesReturnsEmpty 0 s
strategyWalkReturnsBoundedFrames 0.008 s
nullPrefixesRestoreDefaults 0.003 s
negativeMaxFramesReturnsEmpty 0.001 s
frameLimitIsRespected 0.002 s
strategyWalkAppliesExcludePredicate 0.002 s
internalAndJdkFramesAreExcluded 0.002 s
getStackContainsCallerAsFirstFrame 0.002 s
customPrefixesReplaceDefaults 0.002 s
emptyPrefixesDisableFiltering 0.001 s
stackWalkerAndLegacyShareFirstFrame 0.001 s

ImmutableMapTest

shouldSafelyEnumerateEntries 0.003 s
testGetter 0.008 s

ThreadedExecutionSchedulerTest

testAddTestJaggedResult 0.006 s
testAddTest 0.001 s

FundamentalFilterTest

testExcludes1 0.003 s

ChannelsReaderTest

shouldThrowExceptionOnFuture1 0.009 s
shouldThrowExceptionOnFuture2 0.003 s
shouldThrowExceptionOnFuture3 0.002 s
bufferedChannel 0.003 s
shouldFailIfNotReadable 0.002 s
shouldClose 0.001 s
shouldOverflowBuffer 0.002 s
shouldRead 0.002 s
biggerBuffer 0.001 s
shouldFailIOnDirectBuffer 0.001 s
exactBufferSize 0.001 s
shouldNotClose 0.001 s
shouldUseFileChannel 0.001 s
shouldAlreadyClosed 0 s
shouldFailAfterClosed 0 s
shouldReadArray 0.002 s

ChannelsWriterTest

shouldThrowExceptionOnFuture1 0.041 s
shouldThrowExceptionOnFuture2 0.003 s
shouldThrowExceptionOnFuture3 0.002 s
shouldThrowExceptionOnWrite 0.002 s
bufferedChannel 0.001 s
shouldFailIfNotReadable 0.001 s
shouldClose 0.001 s
shouldWrite 0.004 s
shouldFlushWhenEmptyBufferOnBufferedWrites 0 s
shouldFailIOnDirectBuffer 0 s
shouldNotClose 0 s
bigBuffer 0 s
shouldUseFileChannel 0.003 s
shouldAlreadyClosed 0.001 s
shouldWriteZeroLength 0 s
shouldFlushWhenEmptyBuffer 0 s
shouldFailAfterClosed 0.001 s

RunOrderCalculatorTest

testRandomOrderIsIndependentOfDiscoveryOrder 0.004 s

ImmutableMapTest

shouldNotRemove 0.008 s
shouldNotModifyEntries 0.001 s

AsyncSocketTest

test 0 s
- Can be flaky on slow machine -

ConcurrencyUtilsTest

countDownShouldBeDecreasedByTwoThreadsModification 0.009 s
countDownShouldBeUnchangedAsNegativeNegativeTest 0.002 s

SpecificTestClassFilterTest

testMatchSingleCharacterWildcard 0.003 s
testMatchMultiSegmentWildcard 0.001 s

CategorizedReportEntryTest

testGetReportNameWithGroupWhenSourceTextIsNull 0 s
- This test class was not running for long, hard to know if it's still valid or not -
testGetReportNameWithGroupWhenSourceTextIsBlank 0 s
- This test class was not running for long, hard to know if it's still valid or not -
testGetReportNameWithGroupWhenSourceTextIsEmpty 0 s
- This test class was not running for long, hard to know if it's still valid or not -
testGetReportNameWithGroupWhenSourceTextIsProvided 0 s
- This test class was not running for long, hard to know if it's still valid or not -

RunOrderTest

testShouldReturnNullForNullName 0.001 s
testMultiValue 0.001 s

ImmutableMapTest

shouldNotSetEntries 0.003 s

AbstractStreamDecoderTest

shouldDecode100Bytes 7.737 s
malformedCharset 0.015 s
shouldReadThreeCharactersString 0 s
shouldReadEmptyString 0.001 s
shouldReadStringOverflowOn4BytesEncodedSymbol 0.002 s
shouldReadStringOverflowOnNewLine 0.001 s
shouldNotDecode 0.007 s
shouldDecodeHappyCase 0.001 s
shouldReadMultipleStringsAndShiftedInput 0.001 s
shouldSetNonDefaultCharset 0.003 s
shouldDecodeShifted 0.001 s
shouldReadEventType 0.001 s
shouldReadStringShiftedBuffer 0.001 s
shouldReadInt 0 s
shouldEventTypeReachedMalformedHeader 0.001 s
shouldReadDefaultCharset 0 s
shouldEventTypeReachedEndOfStream 0.001 s
shouldNotReadString 0.002 s
shouldReadInteger 0.001 s
shouldReadSingleCharString 0.001 s
shouldReadNonDefaultCharset 0.001 s
shouldReadNullString 0 s
shouldReadNullInteger 0.001 s

FundamentalFilterTest

testIncludes13 0.001 s
testIncludes14 0.001 s
testIncludes15 0.001 s
testIncludes16 0 s

TestListResolverTest

testMultipleExcludedClassesOnly 0.001 s
testTestListResolverWithMethods 0.002 s
testRegexRuleViolationMultipleHashmarkForMethods 0.006 s
testDefaultPatternsMatching 0.001 s

TempFileManagerTest

testCreateTempFileAndDelete 0.011 s
testSubdirInstance 0.001 s
testDeleteOnExit 0.002 s
testFileCreateTempFile 0.004 s

ChannelsWriterTest

wrappedBuffer 0.124 s

FundamentalFilterTest

testExcludes12 0 s
testExcludes13 0.001 s
testExcludes14 0.004 s
testExcludes15 0.001 s
testExcludes16 0.003 s
testIncludes10 0.001 s
testIncludes11 0.001 s
testIncludes12 0 s

TestListResolverTest

testShouldRunTestWithoutMethod 0.005 s
testUnwrapped 0.002 s
testShouldRunAny 0.001 s
testInclusiveWithDefaultExclusivePattern 0 s
testShouldNotRunExcludedMethods 0.001 s
testMinRegexLength 0.001 s
testNonRegexClassAndMethods 0.001 s
testResolveTestRequest 0.001 s

ForkingRunListenerTest

testInfo 0.500 s

ChannelsWriterTest

shouldValidateInput1 0.374 s
shouldValidateInput2 0.002 s
shouldValidateInput3 0.002 s
shouldValidateInput4 0.001 s

ChannelsReaderTest

shouldValidateInput1 0.498 s
shouldValidateInput2 0.002 s
shouldValidateInput3 0.002 s
shouldValidateInput4 0.001 s
shouldReadZeroLength 0.003 s
shouldThrowExceptionOnRead 0.028 s

ConcurrencyUtilsTest

countDownShouldBeDecreasedByOneThreadModification 0 s

ImmutableMapTest

shouldHaveEqualEntry 0.006 s

Failure Details

[Summary] [Package List] [Test Cases]


testCreateTempFile
- skipped: old not executing tests - to review
test
- skipped: Can be flaky on slow machine
testGetReportNameWithGroupWhenSourceTextIsNull
- skipped: This test class was not running for long, hard to know if it's still valid or not
testGetReportNameWithGroupWhenSourceTextIsBlank
- skipped: This test class was not running for long, hard to know if it's still valid or not
testGetReportNameWithGroupWhenSourceTextIsEmpty
- skipped: This test class was not running for long, hard to know if it's still valid or not
testGetReportNameWithGroupWhenSourceTextIsProvided
- skipped: This test class was not running for long, hard to know if it's still valid or not