Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
325 0 0 0 100% 1.298

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.commons.cli.bug 13 0 0 0 100% 0.297
org.apache.commons.cli 312 0 0 0 100% 1.001

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

org.apache.commons.cli.bug

Class Tests Errors Failures Skipped Success Rate Time
BugCLI133Test 1 0 0 0 100% 0.203
BugCLI13Test 1 0 0 0 100% 0.032
BugCLI148Test 2 0 0 0 100% 0
BugCLI162Test 4 0 0 0 100% 0.031
BugCLI18Test 1 0 0 0 100% 0.016
BugCLI71Test 4 0 0 0 100% 0.015

org.apache.commons.cli

Class Tests Errors Failures Skipped Success Rate Time
ApplicationTest 5 0 0 0 100% 0.032
ArgumentIsOptionTest 3 0 0 0 100% 0.016
BasicParserTest 51 0 0 0 100% 0.094
BugsTest 12 0 0 0 100% 0.047
CommandLineTest 1 0 0 0 100% 0.016
DefaultParserTest 51 0 0 0 100% 0.11
GnuParserTest 51 0 0 0 100% 0.078
HelpFormatterTest 16 0 0 0 100% 0.109
OptionBuilderTest 9 0 0 0 100% 0.015
OptionGroupTest 12 0 0 0 100% 0.032
OptionsTest 10 0 0 0 100% 0.015
OptionTest 6 0 0 0 100% 0.031
PatternOptionBuilderTest 9 0 0 0 100% 0.156
PosixParserTest 51 0 0 0 100% 0.094
UtilTest 2 0 0 0 100% 0.015
ValuesTest 7 0 0 0 100% 0.078
ValueTest 16 0 0 0 100% 0.063

Test Cases

[Summary] [Package List] [Test Cases]

ApplicationTest

testLs 0
testAnt 0
testGroovy 0
testMan 0
testNLT 0

ArgumentIsOptionTest

testOptionAndOptionWithArgument 0.016
testOptionWithArgument 0
testOption 0

BasicParserTest

testDoubleDash2 0
testLongWithoutEqualSingleDash 0
testAmbiguousLongWithoutEqualSingleDash 0
testNegativeOption 0
testPropertiesOption1 0
testPropertiesOption2 0.016
testShortWithEqual 0
testShortWithoutEqual 0
testLongWithEqualDoubleDash 0
testLongWithEqualSingleDash 0
testUnambiguousPartialLongOption1 0
testUnambiguousPartialLongOption2 0
testUnambiguousPartialLongOption3 0
testUnambiguousPartialLongOption4 0
testAmbiguousPartialLongOption1 0
testAmbiguousPartialLongOption2 0
testAmbiguousPartialLongOption3 0
testAmbiguousPartialLongOption4 0
testPartialLongOptionSingleDash 0
testBursting 0
testUnrecognizedOptionWithBursting 0
testMissingArgWithBursting 0
testStopBursting 0
testStopBursting2 0
testSimpleShort 0
testSimpleLong 0
testMultiple 0
testMultipleWithLong 0
testUnrecognizedOption 0
testMissingArg 0
testDoubleDash1 0
testSingleDash 0.016
testStopAtUnexpectedArg 0
testStopAtExpectedArg 0
testStopAtNonOptionShort 0
testStopAtNonOptionLong 0
testNegativeArgument 0
testArgumentStartingWithHyphen 0
testLongWithoutEqualDoubleDash 0
testLongWithUnexpectedArgument1 0
testLongWithUnexpectedArgument2 0
testShortWithUnexpectedArgument 0
testWithRequiredOption 0
testOptionAndRequiredOption 0.016
testMissingRequiredOption 0
testMissingRequiredOptions 0
testMissingRequiredGroup 0
testOptionGroup 0
testOptionGroupLong 0
testReuseOptionsTwice 0
testUnlimitedArgs 0

BugCLI133Test

testOrder 0.125

BugCLI13Test

testCLI13 0.016

BugCLI148Test

testWorkaround1 0
testWorkaround2 0

BugCLI162Test

testInfiniteLoop 0
testPrintHelpLongLines 0.016
testLongLineChunking 0
testLongLineChunkingIndentIgnored 0

BugCLI18Test

testCLI18 0

BugCLI71Test

testBasic 0
testMistakenArgument 0
testLackOfError 0
testGetsDefaultIfOptional 0

BugsTest

test11457 0
test11458 0
test11680 0
test11456 0.015
test12210 0
test13425 0
test13666 0.016
test13935 0
test14786 0
test15046 0
test15648 0
test31148 0

CommandLineTest

testGetOptionProperties 0

DefaultParserTest

testDoubleDash2 0.015
testLongWithoutEqualSingleDash 0
testAmbiguousLongWithoutEqualSingleDash 0
testNegativeOption 0
testPropertiesOption1 0.016
testPropertiesOption2 0
testShortWithEqual 0
testShortWithoutEqual 0
testLongWithEqualDoubleDash 0
testLongWithEqualSingleDash 0
testUnambiguousPartialLongOption1 0
testUnambiguousPartialLongOption2 0
testUnambiguousPartialLongOption3 0
testUnambiguousPartialLongOption4 0
testAmbiguousPartialLongOption1 0.016
testAmbiguousPartialLongOption2 0
testAmbiguousPartialLongOption3 0
testAmbiguousPartialLongOption4 0
testPartialLongOptionSingleDash 0
testBursting 0
testUnrecognizedOptionWithBursting 0
testMissingArgWithBursting 0
testStopBursting 0
testStopBursting2 0
testSimpleShort 0.015
testSimpleLong 0
testMultiple 0
testMultipleWithLong 0
testUnrecognizedOption 0
testMissingArg 0
testDoubleDash1 0
testSingleDash 0
testStopAtUnexpectedArg 0
testStopAtExpectedArg 0
testStopAtNonOptionShort 0
testStopAtNonOptionLong 0
testNegativeArgument 0.016
testArgumentStartingWithHyphen 0
testLongWithoutEqualDoubleDash 0
testLongWithUnexpectedArgument1 0
testLongWithUnexpectedArgument2 0
testShortWithUnexpectedArgument 0
testWithRequiredOption 0
testOptionAndRequiredOption 0
testMissingRequiredOption 0
testMissingRequiredOptions 0
testMissingRequiredGroup 0
testOptionGroup 0
testOptionGroupLong 0
testReuseOptionsTwice 0
testUnlimitedArgs 0

GnuParserTest

testDoubleDash2 0
testLongWithoutEqualSingleDash 0
testAmbiguousLongWithoutEqualSingleDash 0
testNegativeOption 0
testUnambiguousPartialLongOption1 0
testUnambiguousPartialLongOption2 0
testUnambiguousPartialLongOption3 0
testUnambiguousPartialLongOption4 0
testAmbiguousPartialLongOption1 0.016
testAmbiguousPartialLongOption2 0
testAmbiguousPartialLongOption3 0
testAmbiguousPartialLongOption4 0
testPartialLongOptionSingleDash 0
testBursting 0
testUnrecognizedOptionWithBursting 0
testMissingArgWithBursting 0
testStopBursting 0
testStopBursting2 0
testLongWithUnexpectedArgument1 0
testLongWithUnexpectedArgument2 0
testShortWithUnexpectedArgument 0
testPropertiesOption1 0
testPropertiesOption2 0
testShortWithEqual 0
testShortWithoutEqual 0.016
testLongWithEqualDoubleDash 0
testLongWithEqualSingleDash 0
testSimpleShort 0
testSimpleLong 0
testMultiple 0
testMultipleWithLong 0
testUnrecognizedOption 0
testMissingArg 0
testDoubleDash1 0
testSingleDash 0
testStopAtUnexpectedArg 0.015
testStopAtExpectedArg 0
testStopAtNonOptionShort 0
testStopAtNonOptionLong 0
testNegativeArgument 0
testArgumentStartingWithHyphen 0
testLongWithoutEqualDoubleDash 0
testWithRequiredOption 0
testOptionAndRequiredOption 0
testMissingRequiredOption 0
testMissingRequiredOptions 0
testMissingRequiredGroup 0.016
testOptionGroup 0
testOptionGroupLong 0
testReuseOptionsTwice 0
testUnlimitedArgs 0

HelpFormatterTest

testFindWrapPos 0.032
testPrintWrapped 0
testPrintOptions 0.015
testPrintHelpWithEmptySyntax 0
testAutomaticUsage 0
testPrintUsage 0
testPrintSortedUsage 0.016
testPrintSortedUsageWithNullComparator 0
testPrintOptionGroupUsage 0.015
testPrintRequiredOptionGroupUsage 0
testPrintOptionWithEmptyArgNameUsage 0
testRtrim 0
testAccessors 0
testHeaderStartingWithLineSeparator 0
testOptionWithoutShortFormat 0
testOptionWithoutShortFormat2 0.016

OptionBuilderTest

testCompleteOption 0
testTwoCompleteOptions 0
testBaseOptionCharOpt 0
testBaseOptionStringOpt 0
testSpecialOptChars 0
testOptionArgNumbers 0
testIllegalOptions 0
testCreateIncompleteOption 0
testBuilderIsResettedAlways 0

OptionGroupTest

testSingleOptionFromGroup 0
testSingleOption 0
testTwoValidOptions 0.016
testSingleLongOption 0
testTwoValidLongOptions 0
testNoOptionsExtraArgs 0
testTwoOptionsFromGroup 0
testTwoLongOptionsFromGroup 0
testTwoOptionsFromDifferentGroup 0
testValidLongOnlyOptions 0
testToString 0
testGetNames 0

OptionsTest

testToString 0
testSimple 0
testDuplicateSimple 0
testLong 0
testDuplicateLong 0
testHelpOptions 0
testMissingOptionException 0
testMissingOptionsException 0
testGetOptionsGroups 0
testGetMatchingOpts 0

OptionTest

testClear 0
testClone 0
testSubclass 0
testHasArgName 0
testHasArgs 0
testGetValue 0

PatternOptionBuilderTest

testSimplePattern 0.125
testEmptyPattern 0
testUntypedPattern 0
testNumberPattern 0
testClassPattern 0
testObjectPattern 0
testURLPattern 0.016
testExistingFilePattern 0
testRequiredOption 0

PosixParserTest

testDoubleDash2 0
testLongWithoutEqualSingleDash 0
testAmbiguousLongWithoutEqualSingleDash 0
testNegativeOption 0
testShortWithEqual 0
testLongWithEqualSingleDash 0
testUnambiguousPartialLongOption4 0
testAmbiguousPartialLongOption4 0
testLongWithUnexpectedArgument1 0
testPropertiesOption1 0
testPropertiesOption2 0
testShortWithoutEqual 0
testLongWithEqualDoubleDash 0
testUnambiguousPartialLongOption1 0
testUnambiguousPartialLongOption2 0
testUnambiguousPartialLongOption3 0
testAmbiguousPartialLongOption1 0.015
testAmbiguousPartialLongOption2 0
testAmbiguousPartialLongOption3 0
testPartialLongOptionSingleDash 0
testBursting 0
testUnrecognizedOptionWithBursting 0
testMissingArgWithBursting 0
testStopBursting 0
testStopBursting2 0
testSimpleShort 0
testSimpleLong 0
testMultiple 0
testMultipleWithLong 0
testUnrecognizedOption 0
testMissingArg 0
testDoubleDash1 0
testSingleDash 0
testStopAtUnexpectedArg 0
testStopAtExpectedArg 0
testStopAtNonOptionShort 0
testStopAtNonOptionLong 0
testNegativeArgument 0
testArgumentStartingWithHyphen 0
testLongWithoutEqualDoubleDash 0
testLongWithUnexpectedArgument2 0
testShortWithUnexpectedArgument 0
testWithRequiredOption 0
testOptionAndRequiredOption 0
testMissingRequiredOption 0.016
testMissingRequiredOptions 0
testMissingRequiredGroup 0
testOptionGroup 0
testOptionGroupLong 0
testReuseOptionsTwice 0
testUnlimitedArgs 0

UtilTest

testStripLeadingHyphens 0
testStripLeadingAndTrailingQuotes 0

ValuesTest

testShortArgs 0.016
testShortArgsWithValue 0
testMultipleArgValues 0.015
testTwoArgValues 0.016
testComplexValues 0
testExtraArgs 0.016
testCharSeparator 0.015

ValueTest

testShortNoArg 0
testShortWithArg 0
testLongNoArg 0
testLongWithArg 0
testShortOptionalArgNoValue 0.016
testShortOptionalArgValue 0
testLongOptionalNoValue 0
testLongOptionalArgValue 0
testShortOptionalArgValues 0.015
testLongOptionalArgValues 0
testShortOptionalNArgValues 0
testLongOptionalNArgValues 0
testPropertyOptionSingularValue 0
testPropertyOptionFlags 0.016
testPropertyOptionMultipleValues 0
testPropertyOverrideValues 0