Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
34 0 0 0 100% 14.87 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.684 s
de.aikiit.bilanzanalyser.api 1 0 0 0 100% 1.320 s
de.aikiit.bilanzanalyser.upload 18 0 0 0 100% 2.162 s
de.aikiit.bilanzanalyser.reader 14 0 0 0 100% 10.70 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.684 s

de.aikiit.bilanzanalyser.api

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

de.aikiit.bilanzanalyser.upload

- Class Tests Errors Failures Skipped Success Rate Time
UploadControllerTest 6 0 0 0 100% 0.211 s
UploadControllerITest 6 0 0 0 100% 1.339 s
SourceServiceTest 1 0 0 0 100% 0.209 s
UploadAnalysisServiceTest 5 0 0 0 100% 0.403 s

de.aikiit.bilanzanalyser.reader

- Class Tests Errors Failures Skipped Success Rate Time
BilanzRowParserResultTest 8 0 0 0 100% 0.230 s
BilanzOdsReaderTest 2 0 0 0 100% 10.18 s
BilanzRowParserStatisticTest 1 0 0 0 100% 0.159 s
BilanzRowParserTest 3 0 0 0 100% 0.133 s

Test Cases

[Summary] [Package List] [Test Cases]

UploadControllerTest

testUploadPage 0.164 s
testHandleFileUpload_invalidWorksheet 0.005 s
testHandleFileUpload_emptyFile 0.008 s
testHandleFileUpload_success 0.013 s
testHandleFileUpload_invalidContentType 0.003 s
testHandleFileUpload_exceptionHandling 0.008 s

BilanzRowParserResultTest

withRow_shouldIncrementRowCountOnly 0.003 s
rows_shouldBeImmutable 0.203 s
addRow_shouldNotMutateOriginalInstance 0.003 s
addRow_shouldAppendRow 0.002 s
empty_shouldReturnZeroCountsAndEmptyList 0.003 s
withRows_shouldReplaceRows 0.002 s
constructor_shouldHandleNullRowsAsEmptyList 0.001 s
withError_shouldIncrementErrorCountOnly 0.001 s

WebAppApplicationTests

ensureContextLoads 0.004 s

BilanzOdsReaderTest

createAndParseExampleDataForSpreadsheetNameThatDoesNotExist 1.410 s
createAndParseExampleData 0.276 s

BilanzRowParserStatisticTest

testFrom_ShouldCreateCorrectStatistic 0.158 s

UploadControllerITest

testHandleFileUpload_invalidWorksheet 0.688 s
testHandleFileUpload_emptyFile 0.014 s
testHandleFileUpload_success 0.044 s
testGetUploadPage 0.012 s
testHandleFileUpload_invalidContentType 0.012 s
testHandleFileUpload_exceptionHandling 0.025 s

SourceServiceTest

getSources_shouldReturnSortedNames 0.207 s

DataControllerITest

shouldReturnDataItems 0.227 s

BilanzRowParserTest

cleanUpAmountParsing 0.001 s
fromOdfTableRowNPESafe 0.066 s
fromOdfTableRowSpecialDateHandlingMappedToDefault 0.062 s

UploadAnalysisServiceTest

getOrCreatePayment_shouldHandleConcurrentInsert 0.376 s
flushDataIntoDatabase_shouldSaveRows 0.012 s
getOrCreatePayment_shouldCreateNew 0.005 s
getOrCreatePayment_shouldReturnExisting 0.004 s
replaceIfEmpty_shouldReplaceNullAndBlank 0.002 s