Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
41 0 0 0 100% 15.43 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
de.aikiit.bilanzanalyser 1 0 0 0 100% 0.749 s
de.aikiit.bilanzanalyser.api 1 0 0 0 100% 5.983 s
de.aikiit.bilanzanalyser.upload 24 0 0 0 100% 6.759 s
de.aikiit.bilanzanalyser.reader 15 0 0 0 100% 1.936 s

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

de.aikiit.bilanzanalyser

- Class Tests Errors Failures Skipped Success Rate Time
WebAppApplicationTests 1 0 0 0 100% 0.749 s

de.aikiit.bilanzanalyser.api

- Class Tests Errors Failures Skipped Success Rate Time
DataControllerITest 1 0 0 0 100% 5.983 s

de.aikiit.bilanzanalyser.upload

- Class Tests Errors Failures Skipped Success Rate Time
UploadControllerTest 6 0 0 0 100% 0.030 s
UploadAnalysisServiceTest 3 0 0 0 100% 0.598 s
UploadAnalysisServiceGetOrCreateTest 8 0 0 0 100% 0.037 s
SourceServiceTest 1 0 0 0 100% 1.651 s
UploadControllerITest 6 0 0 0 100% 4.443 s

de.aikiit.bilanzanalyser.reader

- Class Tests Errors Failures Skipped Success Rate Time
BilanzRowParserResultTest 8 0 0 0 100% 0.016 s
BilanzRowParserStatisticTest 1 0 0 0 100% 0.006 s
BilanzOdsReaderTest 2 0 0 0 100% 1.031 s
BilanzRowParserTest 4 0 0 0 100% 0.883 s

Test Cases

[Summary] [Package List] [Test Cases]

BilanzRowParserResultTest

withRow_shouldIncrementRowCountOnly 0.001 s
rows_shouldBeImmutable 0.006 s
addRow_shouldNotMutateOriginalInstance 0.001 s
addRow_shouldAppendRow 0.001 s
empty_shouldReturnZeroCountsAndEmptyList 0.002 s
withRows_shouldReplaceRows 0.001 s
constructor_shouldHandleNullRowsAsEmptyList 0.001 s
withError_shouldIncrementErrorCountOnly 0.001 s

BilanzRowParserStatisticTest

testFrom_ShouldCreateCorrectStatistic 0.006 s

UploadControllerTest

testUploadPage 0.004 s
testHandleFileUpload_invalidWorksheet 0.003 s
testHandleFileUpload_emptyFile 0.003 s
testHandleFileUpload_success 0.005 s
testHandleFileUpload_invalidContentType 0.002 s
testHandleFileUpload_exceptionHandling 0.004 s

UploadAnalysisServiceTest

getOrCreatePayment_shouldHandleConcurrentInsert 0.420 s
flushDataIntoDatabase_shouldSaveRows 0.165 s
replaceIfEmpty_shouldReplaceNullAndBlank 0.009 s

BilanzOdsReaderTest

createAndParseExampleDataForSpreadsheetNameThatDoesNotExist 0.248 s
createAndParseExampleData 0.198 s

DataControllerITest

shouldReturnDataItems 0.174 s

UploadAnalysisServiceGetOrCreateTest

getOrCreateCategory_shouldCreateNew 0.005 s
getOrCreateSource_shouldReturnExisting 0.005 s
getOrCreateShop_shouldCreateNew 0.005 s
getOrCreateCategory_shouldReturnExisting 0.003 s
getOrCreatePayment_shouldCreateNew 0.003 s
getOrCreatePayment_shouldReturnExisting 0.003 s
getOrCreateSource_shouldCreateNew 0.004 s
getOrCreateShop_shouldReturnExisting 0.003 s

WebAppApplicationTests

ensureContextLoads 0.004 s

BilanzRowParserTest

cleanUpAmountParsing 0.005 s
fromOdfTableRowNPESafe 0.742 s
fromOdfTableRowWithOutAmountIsSkipped 0.040 s
fromOdfTableRowSpecialDateHandlingMappedToDefault 0.093 s

SourceServiceTest

getSources_shouldReturnSortedNames 1.612 s

UploadControllerITest

testHandleFileUpload_invalidWorksheet 0.745 s
testHandleFileUpload_emptyFile 0.031 s
testHandleFileUpload_success 0.064 s
testGetUploadPage 0.013 s
testHandleFileUpload_invalidContentType 0.012 s
testHandleFileUpload_exceptionHandling 0.023 s