Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 95 | 0 | 0 | 0 | 100% | 2.890 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.361 s |
| dev.metaschema.cli.processor.command | 15 | 0 | 0 | 0 | 100% | 0.126 s |
| dev.metaschema.cli.processor | 50 | 0 | 0 | 0 | 100% | 2.403 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.128 s | |
| CompletionScriptGeneratorTest | 15 | 0 | 0 | 0 | 100% | 0.137 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.080 s | |
| ShellCompletionCommandTest | 8 | 0 | 0 | 0 | 100% | 0.035 s | |
| CommandServiceTest | 1 | 0 | 0 | 0 | 100% | 0.011 s |
dev.metaschema.cli.processor
Test Cases
[Summary] [Package List] [Test Cases]
CallingContextTest$ParseOptionsTests
| throwsOnInvalidOption | 0.018 s |
CallingContextTest$WrapTextTests
| handlesEmptyIndent | 0.016 s |
CallingContextTest$ValidateCalledCommandsTests
| returnsErrorWhenRequiredOptionMissing | 0.009 s | |
| returnsEmptyWhenRequiredOptionProvided | 0.003 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[5] | 0.013 s |
ExitCodeTest
| testExitMessage | 0.006 s | |
| testExitThrown | 0.003 s |
CallingContextTest$WrapTextTests
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsDescriptiveText | 0.014 s |
CallingContextTest$ValidateExtraArgumentsTests
| returnsEmptyWhenArgumentsValid | 0.003 s | |
| returnsEmptyWhenNoTargetCommand | 0.005 s |
CLIProcessorTest$VersionOutputTests
CLIProcessorTest$CommandExecutionTests
| testInvalidOption | 0.013 s | |
| testUnknownCommand | 0.011 s | |
| testValidCommandExecution | 0.002 s |
CLIProcessorTest$NoColorModeTests
| testNoColorWithHelp | 0.005 s |
CLIProcessorTest$CommandExecutionTests
| testEmptyArgs | 0.014 s |
CLIProcessorTest$NoColorModeTests
| testNoColorOptionAccepted | 0.002 s | |
| testNoColorWithVersion | 0.009 s |
CLIProcessorTest$GlobalOptionsTests
| testQuietOption | 0.023 s |
CallingContextTest$WrapTextTests
| forceBreakPreservesAllCharacters | 0.012 s |
CallingContextTest$ParseOptionsTests
| parsesValidOptions | 0.008 s | |
| throwsOnMultipleInvalidOptions | 0.008 s |
CompletionScriptGeneratorTest
CompletionTypeRegistryTest
CallingContextTest$ValidateExtraArgumentsTests
| returnsErrorWhenTooManyArguments | 0.048 s | |
| returnsErrorWhenRequiredArgumentMissing | 0.013 s |
CallingContextTest$ApplyGlobalOptionsTests
| appliesBothQuietAndNoColor | 0.004 s |
CommandServiceTest
CallingContextTest$ApplyGlobalOptionsTests
| appliesNoColorOption | 0.019 s | |
| appliesQuietOption | 0.007 s |
CLIProcessorTest$VersionOutputTests
| testVersionOutputContainsExpectedElement(String, String)[3] | 0.014 s | |
| testVersionOutputContainsExpectedElement(String, String)[4] | 0.006 s |
CallingContextTest$ValidateCalledCommandsTests
| returnsEmptyWhenAllCommandsValid | 0.009 s |
ShellCompletionCommandTest
CommandServiceTest
| testDiscoversSpiCommands | 0.011 s |
CallingContextTest$CheckHelpAndVersionTests
| returnsEmptyForOtherArgs | 0.073 s | |
| returnsExitStatusForHelpOption | 0.011 s | |
| returnsExitStatusForVersionOption | 0.008 s |
CallingContextTest$WrapTextTests
| wrapsTextAtWordBoundary | 0.021 s | |
| returnsTextUnchangedWhenShorterThanMaxWidth | 0.013 s | |
| handlesSingleWordLongerThanWidth | 0.003 s | |
| returnsTextUnchangedWhenExactlyMaxWidth | 0.007 s |
CLIProcessorTest$GlobalOptionsTests
| testHelpOption | 0.236 s | |
| testVersionOption | 0.016 s |
