Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 84 | 0 | 0 | 3 | 96.4% | 30.05 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 |
|---|---|---|---|---|---|---|
| org.apache.ibatis.migration.runtime_migration.scripts_java | 3 | 0 | 0 | 0 | 100% | 0.038 s |
| org.apache.ibatis.migration.utils | 2 | 0 | 0 | 0 | 100% | 0.003 s |
| it.version_without_changelog | 1 | 0 | 0 | 0 | 100% | 0.578 s |
| org.apache.ibatis.migration.hook | 3 | 0 | 0 | 0 | 100% | 7.093 s |
| org.apache.ibatis.migration.options | 4 | 0 | 0 | 0 | 100% | 0.063 s |
| org.apache.ibatis.migration | 48 | 0 | 0 | 3 | 93.8% | 21.41 s |
| org.apache.ibatis.migration.script_hook | 4 | 0 | 0 | 0 | 100% | 0.196 s |
| org.apache.ibatis.migration.runtime_migration | 12 | 0 | 0 | 0 | 100% | 0.178 s |
| org.apache.ibatis.migration.commands | 6 | 0 | 0 | 0 | 100% | 0.064 s |
| org.apache.ibatis.migration.system_property | 1 | 0 | 0 | 0 | 100% | 0.424 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
org.apache.ibatis.migration.runtime_migration.scripts_java
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| JavaMigrationLoaderTest | 3 | 0 | 0 | 0 | 100% | 0.038 s |
org.apache.ibatis.migration.utils
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| UtilTest | 2 | 0 | 0 | 0 | 100% | 0.003 s |
it.version_without_changelog
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| VersionWithoutChangeLogTest | 1 | 0 | 0 | 0 | 100% | 0.578 s |
org.apache.ibatis.migration.hook
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| MigrationHookTest | 1 | 0 | 0 | 0 | 100% | 0.889 s | |
| NewHookTest | 2 | 0 | 0 | 0 | 100% | 6.204 s |
org.apache.ibatis.migration.options
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| OptionsParserTest | 4 | 0 | 0 | 0 | 100% | 0.063 s |
org.apache.ibatis.migration
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| MigrationReaderTest | 20 | 0 | 0 | 3 | 85.0% | 0.029 s | |
| MigratorTest | 28 | 0 | 0 | 0 | 100% | 21.39 s |
org.apache.ibatis.migration.script_hook
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| ScriptHookTest | 4 | 0 | 0 | 0 | 100% | 0.196 s |
org.apache.ibatis.migration.runtime_migration
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| RuntimeMigrationTest | 12 | 0 | 0 | 0 | 100% | 0.178 s |
org.apache.ibatis.migration.commands
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| BaseCommandTest | 6 | 0 | 0 | 0 | 100% | 0.064 s |
org.apache.ibatis.migration.system_property
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| SystemPropertyTest | 1 | 0 | 0 | 0 | 100% | 0.424 s |
Test Cases
[Summary] [Package List] [Test Cases]
VersionWithoutChangeLogTest
| shouldUpToVersionEvenWithoutChangelog | 0.523 s |
BaseCommandTest
| testCopyResource | 0.032 s | |
| testExternalFileWithVariables | 0.006 s | |
| testCopyResourceWithVariables | 0.004 s | |
| testExternalFile | 0.005 s | |
| testNonexistentResource | 0.005 s | |
| testNonexistentFile | 0.004 s |
MigrationHookTest
| testHooks | 0.881 s |
NewHookTest
| shouldNotCreateFileWhenBeforeHookThrowsException | 3.115 s | |
| shouldRunNewHooks | 3.087 s |
MigrationReaderTest
| shouldReturnDoPart | 0.003 s | |
| shouldReplaceVariables_Do | 0.001 s | |
| shouldRequireDoubleSlashInUndoComment | 0.001 s | |
| shouldRetainLineBreakAfterDelimiter | 0.001 s | |
| shouldRespectSpecifiedOffsetAndLength | 0.002 s | |
| shouldReturnAllAsDoIfUndoCommentNotFound_NoEndBreak | 0.001 s | |
| shouldReplaceVariables_Undo | 0.001 s | |
| shouldUndoCommentAllowAnyCharBeforeAtMark | 0 s | |
| - | This won't work since 3.2.2 for performance reason. | - |
| shouldRemoveFirstDoubleSlashInEveryComment_Do | 0 s | |
| - | This won't work since 3.2.2 mainly for performance reason. | - |
| shouldSecondUndoMarkerHaveNoEffect | 0.001 s | |
| shouldNormalizeLineSeparator_Do | 0.001 s | |
| shouldReturnAllAsDoIfUndoCommentNotFound | 0.001 s | |
| testReadWithBuffer | 0.001 s | |
| shouldReturnEmptyUndoIfUndoCommentNotFound_NoEndBreak | 0 s | |
| shouldReturnUndoPart | 0 s | |
| shouldReturnUndoPart_NoEndBreak | 0.001 s | |
| shouldNormalizeLineSeparator_Undo | 0.001 s | |
| shouldReturnEmptyUndoIfUndoCommentNotFound | 0 s | |
| shouldRemoveFirstDoubleSlashInEveryComment_Undo | 0 s | |
| - | This won't work since 3.2.2 mainly for performance reason. | - |
| shouldUndoCommentBeLenient | 0 s |
MigratorTest
OptionsParserTest
| testOptions | 0.001 s | |
| testFileOptions | 0.054 s | |
| testEnvAndTemplate | 0.003 s | |
| onlyPopulatesCommandOnce | 0.001 s |
RuntimeMigrationTest
JavaMigrationLoaderTest
| testGetScriptReader | 0.026 s | |
| testGetMigrations | 0.005 s | |
| testGetBootstrapReader | 0.005 s |
ScriptHookTest
| testPendingUndoScript | 0.051 s | |
| testPendingDoScript | 0.054 s | |
| testDoScript | 0.045 s | |
| testUndoScript | 0.044 s |
SystemPropertyTest
| testSystemProperties | 0.025 s |
UtilTest
| testFile | 0.001 s | |
| testIsOption | 0.001 s |
Failure Details
[Summary] [Package List] [Test Cases]
MyBatis