Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 95 | 0 | 0 | 0 | 100% | 3.639 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 |
|---|---|---|---|---|---|---|
| dev.metaschema.cli.processor.completion | 30 | 0 | 0 | 0 | 100% | 0.392 s |
| dev.metaschema.cli.processor.command | 15 | 0 | 0 | 0 | 100% | 0.127 s |
| dev.metaschema.cli.processor | 50 | 0 | 0 | 0 | 100% | 3.120 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
dev.metaschema.cli.processor.completion
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| CompletionTypeRegistryTest | 0 | 0 | 0 | 0 | 0% | 0.148 s | |
| CompletionScriptGeneratorTest | 15 | 0 | 0 | 0 | 100% | 0.148 s | |
| CompletionTypeRegistryTest | 15 | 0 | 0 | 0 | 100% | 0.096 s |
dev.metaschema.cli.processor.command
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| CommandServiceTest | 6 | 0 | 0 | 0 | 100% | 0.079 s | |
| ShellCompletionCommandTest | 8 | 0 | 0 | 0 | 100% | 0.039 s | |
| CommandServiceTest | 1 | 0 | 0 | 0 | 100% | 0.009 s |
dev.metaschema.cli.processor
Test Cases
[Summary] [Package List] [Test Cases]
CallingContextTest$ParseOptionsTests
| throwsOnMultipleInvalidOptions | 0.015 s | |
| throwsOnInvalidOption | 0.009 s |
CallingContextTest$WrapTextTests
| handlesEmptyIndent | 0.015 s | |
| throwsWhenMaxWidthIsNegative | 0.015 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsDescriptiveText | 0.016 s |
CallingContextTest$ValidateCalledCommandsTests
| returnsEmptyWhenAllCommandsValid | 0.013 s | |
| returnsErrorWhenRequiredOptionMissing | 0.012 s | |
| returnsEmptyWhenRequiredOptionProvided | 0.004 s |
CallingContextTest$ApplyGlobalOptionsTests
| appliesBothQuietAndNoColor | 0.006 s | |
| appliesNoColorOption | 0.007 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[5] | 0.017 s |
ExitCodeTest
| testExitMessage | 0.004 s | |
| testExitThrown | 0.004 s |
CallingContextTest$WrapTextTests
| throwsWhenIndentExceedsMaxWidth | 0.022 s | |
| throwsWhenIndentGreaterThanMaxWidth | 0.006 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[3] | 0.016 s | |
| testVersionOutputContainsExpectedElement(String, String)[4] | 0.006 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[2] | 0.017 s | |
| testVersionOutputContainsExpectedElement(String, String)[1] | 0.011 s |
CLIProcessorTest$CommandExecutionTests
| testValidCommandExecution | 0.009 s | |
| testUnknownCommand | 0.011 s | |
| testInvalidOption | 0.021 s | |
| testEmptyArgs | 0.008 s |
CLIProcessorTest$NoColorModeTests
| testNoColorWithHelp | 0.008 s |
CLIProcessorTest$NoColorModeTests
| testNoColorWithVersion | 0.005 s | |
| testNoColorOptionAccepted | 0.011 s |
CLIProcessorTest$GlobalOptionsTests
| testQuietOption | 0.022 s |
CallingContextTest$WrapTextTests
| forceBreakPreservesAllCharacters | 0.014 s |
CallingContextTest$ParseOptionsTests
| parsesValidOptions | 0.012 s |
CompletionScriptGeneratorTest
CompletionTypeRegistryTest
CallingContextTest$ValidateExtraArgumentsTests
| returnsEmptyWhenArgumentsValid | 0.008 s | |
| returnsEmptyWhenNoTargetCommand | 0.012 s | |
| returnsErrorWhenTooManyArguments | 0.035 s | |
| returnsErrorWhenRequiredArgumentMissing | 0.016 s |
CallingContextTest$WrapTextTests
CommandServiceTest
CallingContextTest$ApplyGlobalOptionsTests
| appliesQuietOption | 0.011 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[6] | 0.009 s |
ShellCompletionCommandTest
CommandServiceTest
| testDiscoversSpiCommands | 0.009 s |
CallingContextTest$CheckHelpAndVersionTests
| returnsEmptyForOtherArgs | 0.083 s | |
| returnsExitStatusForHelpOption | 0.019 s | |
| returnsExitStatusForVersionOption | 0.016 s |
CallingContextTest$WrapTextTests
| wrapsTextAtWordBoundary | 0.033 s | |
| returnsTextUnchangedWhenShorterThanMaxWidth | 0.010 s | |
| handlesSingleWordLongerThanWidth | 0.011 s | |
| returnsTextUnchangedWhenExactlyMaxWidth | 0.015 s |
CLIProcessorTest$GlobalOptionsTests
| testHelpOption | 0.275 s | |
| testVersionOption | 0.017 s |
