Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
12 0 0 0 100% 27,38 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.note_service.controller 4 0 0 0 100% 25,67 s
com.medilabosolutions.note_service.service 8 0 0 0 100% 1,701 s

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

com.medilabosolutions.note_service.controller

- Class Tests Errors Failures Skipped Success Rate Time
NoteControllerIT 4 0 0 0 100% 25,67 s

com.medilabosolutions.note_service.service

- Class Tests Errors Failures Skipped Success Rate Time
NoteServiceTest 8 0 0 0 100% 1,701 s

Test Cases

[Summary] [Package List] [Test Cases]

NoteControllerIT

deleteNote_ShouldRemoveNote 2,479 s
createNote_ShouldReturnCreatedNote 0,417 s
getAllNotesByPatientId_ShouldReturnListOfNotes 0,112 s
deleteAllNotes_ShouldRemoveAllNotes 0,175 s

NoteServiceTest

createNote_ShouldSetCurrentDateAndSaveNote 1,527 s
createNote_ShouldSetCurrentDateTimeAutomatically 0,024 s
getAllNotesByPatientId_WithDifferentPatientId_ShouldReturnOnlyMatchingNotes 0,015 s
deleteAllNotes_ShouldCallRepositoryDeleteAll 0,010 s
getAllNotesByPatientId_WhenNotesExist_ShouldReturnListOfNoteDTOs 0,032 s
getAllNotesByPatientId_WithNullPatientName_ShouldHandleNullValues 0,011 s
getAllNotesByPatientId_WhenNoNotesExist_ShouldReturnEmptyList 0,021 s
createNote_WithEmptyPatientName_ShouldWorkCorrectly 0,016 s