Summary

Tests Errors Failures Success Rate Time
86 0 0 100% 0.472

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

Package List

Package Tests Errors Failures Success Rate Time
uk.co.flamingpenguin.jewel.cli 75 0 0 100% 0.269
uk.co.flamingpenguin.jewel.cli.examples 11 0 0 100% 0.203

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

uk.co.flamingpenguin.jewel.cli

Class Tests Errors Failures Success Rate Time
TestArgumentParserImpl 8 0 0 100% 0.022
TestParsedArgumentsBuilder 6 0 0 100% 0.013
TestArgumentValidationException 5 0 0 100% 0.015
TestArgumentValidatorImpl 11 0 0 100% 0.043
TestInheritedOptions 1 0 0 100% 0.004
TestOptionSpecificationImpl 10 0 0 100% 0.055
TestCliImpl 22 0 0 100% 0.062
TestPattern 2 0 0 100% 0.02
TestObjectMethods 10 0 0 100% 0.035

uk.co.flamingpenguin.jewel.cli.examples

Class Tests Errors Failures Success Rate Time
TestHelpExample 1 0 0 100% 0.106
TestPrimitiveExample 1 0 0 100% 0.046
TestOptionalOption 1 0 0 100% 0.007
TestPatternExample 1 0 0 100% 0.005
TestListExample 1 0 0 100% 0.006
TestSimpleExample 1 0 0 100% 0.004
TestDefaultExample 2 0 0 100% 0.012
TestRmExample 2 0 0 100% 0.011
TestFileExample 1 0 0 100% 0.006

Test Cases

TestHelpExample

testHelpExample 0.082

TestArgumentParserImpl

testParseArguments 0
testParseArgumentsNotUparsed 0.001
testParseArgumentsUnparsed 0.001
testParseArgumentsOnlyUnparsed 0.002
testParseArgumentsOnlyUnparsedSeperator 0.001
testParseArgumentsMisplacedValue 0.002
testParseShortArguments 0.001
testParseAssignedValue 0.003

TestParsedArgumentsBuilder

testAdd 0.002
testGetUnparsed 0
testNoOptions 0
testEndOfOptions 0
testMissingInitalSpecifier 0.004
testIterator 0

TestPrimitiveExample

testPrimitiveExample 0.044

TestArgumentValidationException

testUnrecognisedAndMissingOption 0.004
testMissingOption 0.003
testMissingDashes 0.001
testMultipleMissingOption 0.001
testMissingOptionWithDescription 0.002

TestArgumentValidatorImpl

testMissingOption 0.002
testMultipleValue 0.007
testMultipleValueEndOfArguments 0.001
testMultipleValueNotEndOfArguments 0.002
testAdjacentShortOptions 0.01
testSingleValue 0.001
testExtraOption 0.002
testMissingValue 0.001
testUnexpectedValue 0.001
testMissingMultipleValue 0
testOptionAndUnparsed 0.001

TestOptionalOption

testOptionalOption 0.007

TestPatternExample

testPatternExample 0.002

TestInheritedOptions

testSubInterface 0.003

TestOptionSpecificationImpl

testSumary 0.009
testToString 0.01
testIsMultiValued 0.002
testGetType 0.004
testGetName 0.002
testGetShortName 0.002
testGetLongName 0.001
testHasValue 0.002
testHasShortName 0.001
testIsOptional 0.002

TestListExample

testListExample 0.004

TestSimpleExample

testSimpleExample 0.003

TestDefaultExample

testDefaultExample 0.004
testDefaultExampleSpecified 0.006

TestCliImpl

testSingleOption 0.004
testSingleBooleanOption 0.004
testIntegerOption 0.003
testInvalidIntegerOption 0.001
testInvalidIntOption 0.001
testInvalidOption 0.001
testSingleOptionalOption 0.004
testSingleOptionalOptionRequestMissing 0.001
testCharacterValue 0.006
testInvalidCharacterValue 0.001
testMethodWithArguments 0.004
testMethodWithMissingAnnotation 0.001
testUnparsedOption 0.003
testUnparsedOptionMissingValue 0.001
testUnparsedListOption 0.002
testListOptionMissingValue 0.003
testUnparsedListOptionMissingValue 0
testOptionalUnparsedOption 0
testOptionalUnparsedOptionMissingValue 0.003
testOptionalUnparsedListOption 0.003
testOptionalUnparsedListOptionMissingValue 0
testEnumDefaultList 0.003

TestRmExample

testRmExample 0.006
testRmExampleHelp 0.004

TestPattern

testStringPatternMismatch 0.005
testStringPattern 0.012

TestObjectMethods

testToString 0.006
testHashCode 0.001
testEquals 0.001
testNotEquals 0.001
testToStringList 0.003
testToStringBoolean 0.006
testToStringOptionalMissing 0.001
testToStringOptionalPresent 0.002
testToStringUnparsedOptions 0.002
testToStringSeveralOptions 0.005

TestFileExample

testFileExample 0.004