Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
364000100%0.388

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.commons.cli.bug13000100%0.026
org.apache.commons.cli351000100%0.362

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

org.apache.commons.cli.bug

ClassTestsErrors FailuresSkippedSuccess RateTime
BugCLI13Test1000100%0
BugCLI133Test1000100%0
BugCLI71Test4000100%0.007
BugCLI18Test1000100%0.006
BugCLI162Test4000100%0.012
BugCLI148Test2000100%0.001

org.apache.commons.cli

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultParserTest58000100%0.03
PatternOptionBuilderTest9000100%0.044
ArgumentIsOptionTest3000100%0.001
PosixParserTest58000100%0.066
ApplicationTest5000100%0.01
OptionsTest10000100%0.006
OptionGroupTest13000100%0.008
HelpFormatterTest25000100%0.014
ValuesTest7000100%0.023
OptionTest9000100%0.007
GnuParserTest58000100%0.034
UtilTest2000100%0
BasicParserTest58000100%0.031
OptionBuilderTest9000100%0.001
ValueTest12000100%0.082
BugsTest12000100%0.005
CommandLineTest3000100%0

Test Cases

[Summary] [Package List] [Test Cases]

BugCLI13Test

testCLI130

BugCLI133Test

testOrder0

DefaultParserTest

testSimpleLong0.005
testSimpleShort0
testStopBursting20
testMissingRequiredOption0
testShortWithoutEqual0.001
testReuseOptionsTwice0
testMissingRequiredGroup0
testOptionGroupLong0.001
testAmbiguousLongWithoutEqualSingleDash0.001
testMissingArgWithBursting0.001
testMissingRequiredOptions0
testShortWithUnexpectedArgument0.001
testPropertyOverrideValues0.001
testStopAtNonOptionLong0
testNegativeArgument0.001
testStopBursting0.001
testStopAtUnexpectedArg0
testPartialLongOptionSingleDash0
testOptionGroup0.001
testLongWithoutEqualDoubleDash0
testLongWithoutEqualSingleDash0
testPropertyOptionSingularValue0.001
testPropertyOptionMultipleValues0
testMissingArg0
testPropertyOptionFlags0.001
testPropertyOptionGroup0
testUnrecognizedOptionWithBursting0
testMultipleWithLong0.001
testUnrecognizedOption0
testBursting0.001
testAmbiguousPartialLongOption10
testAmbiguousPartialLongOption20
testAmbiguousPartialLongOption30.001
testAmbiguousPartialLongOption40
testPropertyOptionUnexpected0
testSingleDash0.001
testShortWithEqual0
testWithRequiredOption0.001
testUnlimitedArgs0.001
testNegativeOption0
testPropertyOptionRequired0.001
testOptionAndRequiredOption0
testLongWithEqualDoubleDash0
testLongWithUnexpectedArgument10.001
testLongWithUnexpectedArgument20
testStopAtNonOptionShort0.001
testLongWithEqualSingleDash0
testUnambiguousPartialLongOption10
testUnambiguousPartialLongOption20.001
testUnambiguousPartialLongOption30
testUnambiguousPartialLongOption40.001
testMultiple0
testArgumentStartingWithHyphen0
testPropertiesOption10.001
testPropertiesOption20.001
testDoubleDash10
testDoubleDash20.001
testStopAtExpectedArg0

PatternOptionBuilderTest

testSimplePattern0.023
testExistingFilePattern0.001
testURLPattern0.01
testEmptyPattern0.001
testClassPattern0.002
testRequiredOption0.001
testNumberPattern0.001
testUntypedPattern0.001
testObjectPattern0.004

BugCLI71Test

testBasic0
testLackOfError0
testMistakenArgument0.007
testGetsDefaultIfOptional0

ArgumentIsOptionTest

testOptionWithArgument0
testOptionAndOptionWithArgument0
testOption0.001

PosixParserTest

testSimpleLong0.001
testSimpleShort0.001
testStopBursting20.001
testMissingRequiredOption0.002
testShortWithoutEqual0.002
testReuseOptionsTwice0.001
testMissingRequiredGroup0.003
testOptionGroupLong0.001
testAmbiguousLongWithoutEqualSingleDash0
testMissingArgWithBursting0.001
testMissingRequiredOptions0.002
testShortWithUnexpectedArgument0.002
testPropertyOverrideValues0.002
testStopAtNonOptionLong0.001
testNegativeArgument0.001
testStopBursting0.003
testStopAtUnexpectedArg0.001
testPartialLongOptionSingleDash0.001
testOptionGroup0.001
testLongWithoutEqualDoubleDash0.001
testLongWithoutEqualSingleDash0
testPropertyOptionSingularValue0.001
testPropertyOptionMultipleValues0.001
testMissingArg0.001
testPropertyOptionFlags0.004
testPropertyOptionGroup0.002
testUnrecognizedOptionWithBursting0.001
testMultipleWithLong0.002
testUnrecognizedOption0.001
testBursting0.002
testAmbiguousPartialLongOption10.001
testAmbiguousPartialLongOption20.001
testAmbiguousPartialLongOption30.001
testAmbiguousPartialLongOption40
testPropertyOptionUnexpected0
testSingleDash0.001
testShortWithEqual0
testWithRequiredOption0.001
testUnlimitedArgs0.001
testNegativeOption0.004
testPropertyOptionRequired0
testOptionAndRequiredOption0.001
testLongWithEqualDoubleDash0.001
testLongWithUnexpectedArgument10
testLongWithUnexpectedArgument20.003
testStopAtNonOptionShort0.001
testLongWithEqualSingleDash0.001
testUnambiguousPartialLongOption10
testUnambiguousPartialLongOption20
testUnambiguousPartialLongOption30
testUnambiguousPartialLongOption40
testMultiple0.001
testArgumentStartingWithHyphen0
testPropertiesOption10.001
testPropertiesOption20.001
testDoubleDash10.001
testDoubleDash20.001
testStopAtExpectedArg0.001

ApplicationTest

testAnt0.002
testMan0.005
testNLT0.001
testLs0.001
testGroovy0.001

OptionsTest

testMissingOptionsException0.001
testGetMatchingOpts0
testLong0.001
testToString0.001
testHelpOptions0.001
testMissingOptionException0
testDuplicateSimple0
testGetOptionsGroups0.001
testDuplicateLong0
testSimple0.001

OptionGroupTest

testTwoOptionsFromDifferentGroup0
testNoOptionsExtraArgs0
testGetNames0.001
testTwoValidOptions0.001
testSingleOption0.001
testToString0
testTwoOptionsFromGroup0.001
testTwoValidLongOptions0.001
testSingleOptionFromGroup0
testTwoOptionsFromGroupWithProperties0
testTwoLongOptionsFromGroup0.001
testSingleLongOption0.001
testValidLongOnlyOptions0.001

HelpFormatterTest

testUsageWithLongOptSeparator0
testRenderWrappedTextSingleLine0
testIndentedHeaderAndFooter0
testPrintSortedUsageWithNullComparator0
testAccessors0
testRtrim0
testPrintRequiredOptionGroupUsage0.001
testHelpWithLongOptSeparator0.001
testRenderWrappedTextSingleLinePadded0
testRenderWrappedTextMultiLine0
testPrintUsage0.001
testPrintSortedUsage0.001
testPrintHelpWithEmptySyntax0.001
testPrintOptions0.006
testAutomaticUsage0
testDefaultArgName0
testHeaderStartingWithLineSeparator0
testRenderWrappedTextWordCut0
testOptionWithoutShortFormat0
testRenderWrappedTextMultiLinePadded0
testPrintOptionGroupUsage0.002
testPrintOptionWithEmptyArgNameUsage0
testRenderWrappedTextSingleLinePadded20
testOptionWithoutShortFormat20.001
testFindWrapPos0

ValuesTest

testTwoArgValues0.006
testShortArgs0.003
testCharSeparator0.004
testExtraArgs0.003
testShortArgsWithValue0.003
testComplexValues0.002
testMultipleArgValues0.002

OptionTest

testGetValue0.001
testSubclass0
testClear0.001
testClone0.001
testBuilderMethods0.002
testHasArgs0.001
testHasArgName0
testBuilderInsufficientParams10
testBuilderInsufficientParams20.001

GnuParserTest

testSimpleLong0.001
testSimpleShort0.001
testStopBursting20
testMissingRequiredOption0.001
testShortWithoutEqual0.001
testReuseOptionsTwice0
testMissingRequiredGroup0
testOptionGroupLong0.001
testAmbiguousLongWithoutEqualSingleDash0
testMissingArgWithBursting0
testMissingRequiredOptions0.001
testShortWithUnexpectedArgument0
testPropertyOverrideValues0.001
testStopAtNonOptionLong0.001
testNegativeArgument0.001
testStopBursting0.012
testStopAtUnexpectedArg0
testPartialLongOptionSingleDash0
testOptionGroup0
testLongWithoutEqualDoubleDash0
testLongWithoutEqualSingleDash0
testPropertyOptionSingularValue0
testPropertyOptionMultipleValues0
testMissingArg0
testPropertyOptionFlags0
testPropertyOptionGroup0
testUnrecognizedOptionWithBursting0
testMultipleWithLong0
testUnrecognizedOption0.001
testBursting0
testAmbiguousPartialLongOption10
testAmbiguousPartialLongOption20
testAmbiguousPartialLongOption30
testAmbiguousPartialLongOption40
testPropertyOptionUnexpected0
testSingleDash0.001
testShortWithEqual0.001
testWithRequiredOption0
testUnlimitedArgs0.001
testNegativeOption0
testPropertyOptionRequired0
testOptionAndRequiredOption0.001
testLongWithEqualDoubleDash0
testLongWithUnexpectedArgument10
testLongWithUnexpectedArgument20
testStopAtNonOptionShort0
testLongWithEqualSingleDash0.001
testUnambiguousPartialLongOption10
testUnambiguousPartialLongOption20
testUnambiguousPartialLongOption30
testUnambiguousPartialLongOption40
testMultiple0.001
testArgumentStartingWithHyphen0.001
testPropertiesOption10.001
testPropertiesOption20
testDoubleDash10
testDoubleDash20
testStopAtExpectedArg0.004

UtilTest

testStripLeadingAndTrailingQuotes0
testStripLeadingHyphens0

BugCLI18Test

testCLI180.006

BugCLI162Test

testInfiniteLoop0.001
testLongLineChunkingIndentIgnored0.002
testLongLineChunking0.002
testPrintHelpLongLines0.007

BugCLI148Test

testWorkaround10.001
testWorkaround20

BasicParserTest

testSimpleLong0.001
testSimpleShort0
testStopBursting20
testMissingRequiredOption0
testShortWithoutEqual0
testReuseOptionsTwice0.001
testMissingRequiredGroup0.001
testOptionGroupLong0
testAmbiguousLongWithoutEqualSingleDash0
testMissingArgWithBursting0.001
testMissingRequiredOptions0.001
testShortWithUnexpectedArgument0.001
testPropertyOverrideValues0.003
testStopAtNonOptionLong0
testNegativeArgument0
testStopBursting0.001
testStopAtUnexpectedArg0
testPartialLongOptionSingleDash0
testOptionGroup0.001
testLongWithoutEqualDoubleDash0
testLongWithoutEqualSingleDash0
testPropertyOptionSingularValue0
testPropertyOptionMultipleValues0
testMissingArg0
testPropertyOptionFlags0.001
testPropertyOptionGroup0.001
testUnrecognizedOptionWithBursting0
testMultipleWithLong0.001
testUnrecognizedOption0.001
testBursting0.001
testAmbiguousPartialLongOption10
testAmbiguousPartialLongOption20
testAmbiguousPartialLongOption30
testAmbiguousPartialLongOption40.001
testPropertyOptionUnexpected0.001
testSingleDash0
testShortWithEqual0
testWithRequiredOption0.001
testUnlimitedArgs0.001
testNegativeOption0.001
testPropertyOptionRequired0.001
testOptionAndRequiredOption0.001
testLongWithEqualDoubleDash0.001
testLongWithUnexpectedArgument10.001
testLongWithUnexpectedArgument20.001
testStopAtNonOptionShort0.001
testLongWithEqualSingleDash0
testUnambiguousPartialLongOption10.001
testUnambiguousPartialLongOption20
testUnambiguousPartialLongOption30
testUnambiguousPartialLongOption40
testMultiple0.001
testArgumentStartingWithHyphen0.001
testPropertiesOption10
testPropertiesOption20
testDoubleDash10
testDoubleDash20
testStopAtExpectedArg0.001

OptionBuilderTest

testBaseOptionStringOpt0
testTwoCompleteOptions0
testBuilderIsResettedAlways0
testCompleteOption0
testCreateIncompleteOption0.001
testOptionArgNumbers0
testIllegalOptions0
testSpecialOptChars0
testBaseOptionCharOpt0

ValueTest

testShortOptionalArgValues0.026
testLongOptionalArgValue0.01
testShortOptionalArgNoValue0.01
testLongWithArg0.005
testLongOptionalNArgValues0.007
testShortWithArg0.005
testLongOptionalArgValues0.004
testShortOptionalNArgValues0.004
testLongNoArg0.003
testShortNoArg0.003
testLongOptionalNoValue0.003
testShortOptionalArgValue0.002

BugsTest

test114560
test114570.001
test114580
test116800
test122100.001
test134250.001
test136660
test139350.001
test147860
test150460
test156480.001
test311480

CommandLineTest

testGetParsedOptionValue0
testGetOptions0
testGetOptionProperties0