Surefire Report
Summary
[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
72 | 0 | 0 | 0 | 100% | 1.975 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.bcxp.challenge.weather | 12 | 0 | 0 | 0 | 100% | 0.039 s |
de.bcxp.challenge.common.model | 3 | 0 | 0 | 0 | 100% | 0.020 s |
de.bcxp.challenge.common.utility | 35 | 0 | 0 | 0 | 100% | 0.580 s |
de.bcxp.challenge.common.analysis.csv | 5 | 0 | 0 | 0 | 100% | 0.881 s |
de.bcxp.challenge | 1 | 0 | 0 | 0 | 100% | 0.393 s |
de.bcxp.challenge.common.documentParsing.csv | 4 | 0 | 0 | 0 | 100% | 0.017 s |
de.bcxp.challenge.countries | 12 | 0 | 0 | 0 | 100% | 0.045 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
de.bcxp.challenge.weather
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
WeatherEntryTest | 4 | 0 | 0 | 0 | 100% | 0.014 s |
![]() |
WeatherCsvParserTest | 4 | 0 | 0 | 0 | 100% | 0.013 s |
![]() |
WeatherAnalyserTest | 4 | 0 | 0 | 0 | 100% | 0.012 s |
de.bcxp.challenge.common.model
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
DocumentTest | 3 | 0 | 0 | 0 | 100% | 0.020 s |
de.bcxp.challenge.common.utility
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
StringParsingUtilityTest | 18 | 0 | 0 | 0 | 100% | 0.042 s |
![]() |
ParameterValidationUtilityTest | 17 | 0 | 0 | 0 | 100% | 0.538 s |
de.bcxp.challenge.common.analysis.csv
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
CsvCsvAnalysisUtilityTest | 5 | 0 | 0 | 0 | 100% | 0.881 s |
de.bcxp.challenge
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
AppTest | 1 | 0 | 0 | 0 | 100% | 0.393 s |
de.bcxp.challenge.common.documentParsing.csv
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
CsvParserTest | 4 | 0 | 0 | 0 | 100% | 0.017 s |
de.bcxp.challenge.countries
- | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|---|
![]() |
CountryEntryTest | 4 | 0 | 0 | 0 | 100% | 0.007 s |
![]() |
CountryAnalyserTest | 4 | 0 | 0 | 0 | 100% | 0.014 s |
![]() |
CountryCsvParserTest | 4 | 0 | 0 | 0 | 100% | 0.024 s |
Test Cases
[Summary] [Package List] [Test Cases]
CountryEntryTest
![]() |
testGetBestMatchScore | 0 s |
![]() |
testExceptionWithInvalidParameters | 0.003 s |
![]() |
testValidCountryEntryCreation | 0 s |
![]() |
testValidCountryEntryCreationWithExtremeValues | 0.001 s |
DocumentTest
![]() |
testDocumentCreationWithNullEntries | 0.006 s |
![]() |
testDocumentCreation | 0.004 s |
![]() |
testDocumentCreationWithEmptyEntries | 0.004 s |
CsvCsvAnalysisUtilityTest
![]() |
testReturnsMaxScoreEntry | 0.852 s |
![]() |
testHandlesTiesForBestScore | 0.005 s |
![]() |
testThrowsForEmptyDocument | 0.005 s |
![]() |
testReturnsMinScoreEntry | 0.004 s |
![]() |
testThrowsForNullDocument | 0.003 s |
CountryAnalyserTest
![]() |
getBestMatchesTestMultipleMatches | 0.003 s |
![]() |
getBestMatchesTest | 0.003 s |
![]() |
getBestMatchesTestEmptyDocument | 0.003 s |
![]() |
getBestMatchesTestEmptyDocumentExtremeValues | 0.002 s |
CsvParserTest
![]() |
testParseDocumentWithUSLocale | 0.003 s |
![]() |
testParseDocumentWithGermanyLocale | 0.002 s |
![]() |
testParseDocumentWithFranceLocale | 0.004 s |
![]() |
testParseDocumentLocaleAgnostic | 0.005 s |
WeatherEntryTest
![]() |
testValidWeatherEntryCreation | 0 s |
![]() |
testExceptionWhenMaxTempLessThanMinTemp | 0.008 s |
![]() |
testGetBestMatchScore | 0.001 s |
![]() |
testGetBestMatchScoreExtremeValues | 0.004 s |
CountryCsvParserTest
![]() |
testParseDocumentMissingField | 0.006 s |
![]() |
testParseDocumentFileNotFound | 0.005 s |
![]() |
testParseDocumentMalformedNumber | 0.001 s |
![]() |
testParseDocument | 0.009 s |
WeatherCsvParserTest
![]() |
testParseDocumentMissingField | 0.001 s |
![]() |
testParseDocumentFileNotFound | 0.004 s |
![]() |
testParseDocumentMalformedNumber | 0.002 s |
![]() |
testParseDocument | 0.002 s |
AppTest
![]() |
testMainPrintsExpectedOutput | 0.369 s |
WeatherAnalyserTest
![]() |
getBestMatchesTestMultipleMatches | 0.002 s |
![]() |
getBestMatchesTest | 0.002 s |
![]() |
getBestMatchesTestEmptyDocument | 0.002 s |
![]() |
getBestMatchesTestEmptyDocumentExtremeValues | 0.003 s |