Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
15 0 0 0 100% 0.310 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
- 15 0 0 0 100% 0.310 s

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

- Class Tests Errors Failures Skipped Success Rate Time
Legal age predicate 10 0 0 0 100% 0.181 s
LegalAgePredicate tests 5 0 0 0 100% 0.129 s

Test Cases

[Summary] [Package List] [Test Cases]

Legal age predicate

legal age verification User is exactly 18 years old 0.027 s
legal age verification User is one day older than 18 0.001 s
legal age verification User is one day younger than 18 0 s
legal age verification User is exactly 19 years old 0 s
legal age verification User is born today (edge case) 0 s
legal age verification User is exactly 17 years old 0 s
legal age verification User is exactly 20 years old 0 s
legal age verification User is born on a leap year 0 s
legal age verification 0.176 s
the constructor sets the system clock by default 0.004 s

LegalAgePredicate tests

LegalAgePredicate test cases[1] User is exactly 18 years old 0.086 s
LegalAgePredicate test cases[2] User is one day older than 18 0.001 s
LegalAgePredicate test cases[3] User is one day younger than 18 0.001 s
LegalAgePredicate test cases[4] User is exactly 19 years old 0.001 s
LegalAgePredicate test cases[5] User is born today (edge case) 0 s