Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
112 0 0 0 100% 1,000.659

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
org.imageconverter.controller.imagetype 16 0 0 0 100% 211.813
org.imageconverter.application 46 0 0 0 100% 286.331
org.imageconverter.domain.imagetype 9 0 0 0 100% 23.973
org.imageconverter.domain.conversion 12 0 0 0 100% 36.162
org.imageconverter.controller.imageconverter 24 0 0 0 100% 296.713
org.imageconverter.controller.actuator 5 0 0 0 100% 145.667

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

org.imageconverter.controller.imagetype

Class Tests Errors Failures Skipped Success Rate Time
ImageTypeRestControllerUnHappyPathMovTest 7 0 0 0 100% 70.104
ImageTypeRestControllerUnHappyPathFindTest 3 0 0 0 100% 70.552
ImageTypeRestControllerHappyPathTest 6 0 0 0 100% 71.157

org.imageconverter.application

Class Tests Errors Failures Skipped Success Rate Time
ImageTypeServiceHappyPathTest 6 0 0 0 100% 70.834
ImageConversionServiceUnHappyPathTest 20 0 0 0 100% 69.895
ImageConversionServiceHappyPathTest 7 0 0 0 100% 75.048
ImageTypeServiceUnHappyPathTest 13 0 0 0 100% 70.554

org.imageconverter.domain.imagetype

Class Tests Errors Failures Skipped Success Rate Time
ImageTypeHappyPathTest 5 0 0 0 100% 13.739
ImageTypeUnHappyPathTest 4 0 0 0 100% 10.234

org.imageconverter.domain.conversion

Class Tests Errors Failures Skipped Success Rate Time
ImageConversionHappyPathTest 4 0 0 0 100% 18.103
ImageConversionUnHappyPathTest 8 0 0 0 100% 18.059

org.imageconverter.controller.imageconverter

Class Tests Errors Failures Skipped Success Rate Time
ImageConversionRestControllerUnHappyPathTest 11 0 0 0 100% 72.065
ImageConversionRestControllerHappyPathTest 8 0 0 0 100% 79.589
ImageConvertRestControllerSearchUnHappyPathTest 4 0 0 0 100% 71.149
ImageConversionRestControllerFullUnHappyPathTest 1 0 0 0 100% 73.91

org.imageconverter.controller.actuator

Class Tests Errors Failures Skipped Success Rate Time
TesseractHealthHappyTest 3 0 0 0 100% 73.471
TesseractHealthUnHappyTest 2 0 0 0 100% 72.196

Test Cases

[Summary] [Package List] [Test Cases]

ImageTypeRestControllerUnHappyPathMovTest

createSameImageTypeTest 1.773
createInvalidImageTypeTest 0.107
createInvalidImageTypeTest2 0.115
updateImageTypeDoesNotExistTest 0.166
deleteImageTypeDoesNotExistTest 0.075
deleteImageTypeRestrictionTest 0.173
invalidUrlTest 0.103

ImageTypeServiceHappyPathTest

createImageTypeTest 1.279
findImageTypeByIdTest 0.227
deleteImageTypeTest 0.268
updateImageTypeTest 0.222
findImageTypeBySpecificationTest 0.223
findAllImageTypeTest 0.035

ImageConversionHappyPathTest

createValidImageConversionTest(String, byte[], ExecutionType, boolean, Integer, Integer, Integer, Integer)[1] 0.855
createValidImageConversionTest(String, byte[], ExecutionType, boolean, Integer, Integer, Integer, Integer)[2] 0.412
tryToStringTest 0.201
tryEqualsAndHashCodeContractTest 1.703

ImageTypeRestControllerUnHappyPathFindTest

findImageTypeByIdTest 1.798
findImageTypeBySearchTest 0.394
findImageTypeBySearchInvalidSearchTest 0.072

ImageTypeHappyPathTest

createValidImageTypeTest(String, String, String)[1] 1.972
createValidImageTypeTest(String, String, String)[2] 0.057
tryToStringTest 0.553
updateValidImageTypeTest 0.151
tryEqualsAndHashCodeContractTest 3.102

TesseractHealthHappyTest

findActuatorHealthTest 1.509
findActuatorTesseractTest 0.243
postActuatorRefreshTest 0.273

ImageConversionRestControllerUnHappyPathTest

tryToConvertTest 1.735
tryToConvertSameImageTest 1.935
tryToConvertCorruptedImageTest 0.028
tryToConvertEmptyImageTest 0.029
tryToConvertCorruptedImageAreaTest 0.042
tryToConvertCorruptedImageAreaTestPortuguese 0.036
tryToConvertEmptyImageAreaTest 0.03
tryToConvertAreaParameterNullTest 0.018
tryToConvertAreaParameterInvalidYTest 0.038
tryToConvertAreaParameterInvalidYTestPortuguese 0.018
createEmptyCsvFileTest 0.078

ImageConversionServiceUnHappyPathTest

createImageConversionCsvFileEmptyTest 1.329
convertInvalidParameterTest(ImageConverterRequest)[1] 0.212
convertInvalidParameterTest(ImageConverterRequest)[2] 0.055
convertInvalidParameterTest(ImageConverterRequest)[3] 0.026
convertInvalidParameterTest(ImageConverterRequest)[4] 0.035
findImageConversionByInvalidIdTest(Long)[1] 0.041
findImageConversionByInvalidIdTest(Long)[2] 0.052
convertAreaInvalidParameterTest(ImageConverterRequestArea)[1] 0.048
convertAreaInvalidParameterTest(ImageConverterRequestArea)[2] 0.026
convertAreaInvalidParameterTest(ImageConverterRequestArea)[3] 0.027
convertAreaInvalidParameterTest(ImageConverterRequestArea)[4] 0.04
convertAreaInvalidParameterTest(ImageConverterRequestArea)[5] 0.046
convertAreaInvalidParameterTest(ImageConverterRequestArea)[6] 0.06
convertAreaInvalidParameterTest(ImageConverterRequestArea)[7] 0.048
convertAreaInvalidParameterTest(ImageConverterRequestArea)[8] 0.051
convertAreaInvalidParameterTest(ImageConverterRequestArea)[9] 0.055
convertAreaInvalidParameterTest(ImageConverterRequestArea)[10] 0.032
findImageConversionByInvalidExtensionTest 0.032
deleteImageConversionDoesNotExistTest(Long)[1] 0.021
deleteImageConversionDoesNotExistTest(Long)[2] 0.056

ImageConversionUnHappyPathTest

createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[1] 0.604
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[2] 0.018
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[3] 0.422
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[4] 0.317
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[5] 0.263
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[6] 0.298
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[7] 0.305
createInvalidImageConversionTest(String, byte[], ExecutionType, Integer, Integer, Integer, Integer)[8] 0.439

ImageConversionServiceHappyPathTest

findAllImageConversionTest 1.328
findImageConversionBySpecificationTest 0.165
convertTest 3.87
findImageConversionByIdTest 0.017
convertAreaTest 0.423
deleteImageTypeTest 0.442
createImageConversionCsvFileTest 0.022

TesseractHealthUnHappyTest

findActuatorHealthInvalidTest 1.923
findActuatorTesseractInvalidTest 0.3

ImageConversionRestControllerHappyPathTest

findImageConversionByIdTest 1.397
findAllImageConversionTest 0.093
findImageTypeByExtensionTest 0.091
convertImagesTest 4.427
convertImageTest 2.519
convertAreaTest 0.428
deleteImageConversionTest 0.476
createCsvFileTest 0.025

ImageConvertRestControllerSearchUnHappyPathTest

tryToGetImageConversionByIdTest 1.603
tryToGetImageConversionBySearchTest 0.228
tryToGetImageConversionByInvalidFieldSearchTest 0.052
deleteImageConversionDoesNotExistTest 0.04

ImageTypeServiceUnHappyPathTest

deleteImageTypeDoesNotExistTest(Long)[1] 1.178
deleteImageTypeDoesNotExistTest(Long)[2] 0.196
findImageTypeByIdTest(Long)[1] 0.047
findImageTypeByIdTest(Long)[2] 0.078
updateImageTypeDoesNotExistTest(Long, UpdateImageTypeRequest)[1] 0.043
updateImageTypeDoesNotExistTest(Long, UpdateImageTypeRequest)[2] 0.024
updateImageTypeDoesNotExistTest(Long, UpdateImageTypeRequest)[3] 0.018
deleteImageTypeRestrictionTest 0.21
createImageTypeInvalidTest(CreateImageTypeRequest)[1] 0.146
createImageTypeInvalidTest(CreateImageTypeRequest)[2] 0.039
createImageTypeInvalidTest(CreateImageTypeRequest)[3] 0.028
findImageTypeByInvalidExtensionTest 0.065
createSameImageTypeTest 0.246

ImageTypeRestControllerHappyPathTest

findImageTypeByIdTest 1.299
findAllImageTypeTest 0.603
findImageTypeByExtensionTest 0.141
createImageTypeTest 0.123
updateImageTypeTest 0.256
deleteImageTypeTest 0.259

ImageConversionRestControllerFullUnHappyPathTest

convertWithInvalidTesseractConfTest 2.466

ImageTypeUnHappyPathTest

createInvalidImageTypeTest(String, String, String)[1] 2.092
createInvalidImageTypeTest(String, String, String)[2] 0.025
createInvalidImageTypeTest(String, String, String)[3] 0.023
createInvalidImageTypeTest(String, String, String)[4] 0.037