Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
18 0 0 0 100% 12,76 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
com.medilabosolutions.report_service.controller 4 0 0 0 100% 12,37 s
com.medilabosolutions.report_service.service 14 0 0 0 100% 0,390 s

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

com.medilabosolutions.report_service.controller

- Class Tests Errors Failures Skipped Success Rate Time
ReportControllerIT 4 0 0 0 100% 12,37 s

com.medilabosolutions.report_service.service

- Class Tests Errors Failures Skipped Success Rate Time
ReportServiceTest 14 0 0 0 100% 0,390 s

Test Cases

[Summary] [Package List] [Test Cases]

ReportControllerIT

report_EarlyOnset 0,266 s
report_InDanger 0,014 s
report_None 0,011 s
report_Borderline 0,013 s

ReportServiceTest

generateReport_WhenNoteServiceFails_ShouldThrowException 0,233 s
generateReport_ShouldReturnCorrectRiskAssessment 0,021 s
generateReport_ShouldConcatenateFirstNameAndLastName 0,004 s
generateReport_ShouldCountUniqueTriggersNotOccurrences 0,004 s
generateReport_ShouldHandleCaseInsensitiveTriggers 0,005 s
generateReport_WithDifferentGendersAndAges_ShouldReturnCorrectRiskLevels 0,006 s
generateReport_ShouldCalculateCorrectAge 0,003 s
generateReport_WhenNoTriggers_ShouldReturnNoneRisk 0,007 s
generateReport_WhenInDangerRiskForMaleUnder30_ShouldReturnInDanger 0,005 s
generateReport_WhenEarlyOnsetRiskForFemaleUnder30_ShouldReturnEarlyOnset 0,004 s
getNotesByPatientId_WhenSuccessful_ShouldReturnNotes 0,036 s
getPatientById_WhenSuccessful_ShouldReturnPatient 0,012 s
generateReport_WhenBorderlineRisk_ShouldReturnBorderline 0,007 s
generateReport_WhenPatientServiceFails_ShouldThrowException 0,010 s