Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
10 0 0 0 100% 201

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.company.thesandbox.domain.businessrules 5 0 0 0 100% 184
org.company.thesandbox.domain 5 0 0 0 100% 17

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

org.company.thesandbox.domain.businessrules

Class Tests Errors Failures Skipped Success Rate Time
OneEarDiscountBusinessRuleValidationTest 2 0 0 0 100% 8
OrderDateDeliveryDateBusinessRuleValidationTest 3 0 0 0 100% 176

org.company.thesandbox.domain

Class Tests Errors Failures Skipped Success Rate Time
PropertyValidationTest 5 0 0 0 100% 17

Test Cases

PropertyValidationTest

testIntegerPropertyMaxValueValidation 118
testIntegerPropertyMinValueValidation 4
testStringPropertyMaxLengthValueValidation 3
testStringPropertyMinLengthValueValidation 3
testStringPropertyRegExpValidation 6

OneEarDiscountBusinessRuleValidationTest

testOneEarDiscountSucceed 4
testOneEarDiscountFail 2

OrderDateDeliveryDateBusinessRuleValidationTest

testOrderDateBeforeDeliveryDateSucceed 168
testOrderDateBeforeDeliveryDateFail 3
testOrderDateBeforeDeliveryDateFailAfterActivateValidation 1