Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
54 0 0 0 100% 6.626

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.icfolson.aem.prosper.builders 18 0 0 0 100% 1.253
com.icfolson.aem.prosper.specs 29 0 0 0 100% 2.343
com.icfolson.aem.prosper.annotations 2 0 0 0 100% 2.532
com.icfolson.aem.prosper.context 5 0 0 0 100% 0.498

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

com.icfolson.aem.prosper.builders

Class Tests Errors Failures Skipped Success Rate Time
RequestBuilderSpec 15 0 0 0 100% 0.736
ResponseBuilderSpec 3 0 0 0 100% 0.517

com.icfolson.aem.prosper.specs

Class Tests Errors Failures Skipped Success Rate Time
ExtendingNodeTypesSpec 2 0 0 0 100% 0.606
NodeTypesSpec 0 0 0 0 0% 0.476
ProsperAssertsSpec 6 0 0 0 100% 0.422
ProsperSpecSpec 19 0 0 0 100% 0.465
RuleSpec 2 0 0 0 100% 0.374

com.icfolson.aem.prosper.annotations

Class Tests Errors Failures Skipped Success Rate Time
ModelSpecAnnotationSpec 2 0 0 0 100% 2.532

com.icfolson.aem.prosper.context

Class Tests Errors Failures Skipped Success Rate Time
ProsperSlingContextSpec 5 0 0 0 100% 0.498

Test Cases

[Summary] [Package List] [Test Cases]

ModelSpecAnnotationSpec

model in current package is registered when spec is annotated 0.022
model in other package is registered when additional packages are specified 0.001

RequestBuilderSpec

build request with no arguments 0.028
build request 0.004
build complex request[0] 0.003
build complex request[1] 0.001
build request with selectors[0] 0.004
build request with selectors[1] 0.001
build request with selectors[2] 0.001
build request with parameters argument 0.005
build request with parameters[0] 0.003
build request with parameters[1] 0
build request with parameters[2] 0
build request with parameters[3] 0.001
build request with parameters[4] 0.001
build request with parameters[5] 0.001
build request with attributes 0.01

ResponseBuilderSpec

build response 0.007
build response with closure 0.002
write JSON to response 0.009

ProsperSlingContextSpec

set run mode 0.008
adapt resource to model 0.003
adapt request to model 0.007
test adapter manager respects OSGi service properties 0.009
test adapter factory without OSGi service properties is always called 0.009

ExtendingNodeTypesSpec

check node type for node with custom type[0] 0.001
check node type for node with custom type[1] 0

ProsperAssertsSpec

assert node exists 0.001
assert node exists with type 0.003
assert node exists with properties 0.014
assert node exists with type and properties 0.003
assert page exists 0.003
assert page exists with properties 0.002

ProsperSpecSpec

registered adapter factory 0.001
adapt to page manager 0.003
adapt to tag manager 0.012
adapt to session 0
adapt to invalid type returns null 0
additional resource adapter 0.001
additional resource resolver adapter 0
additional request adapter 0
add resource resolver adapter for test 0.003
add request adapter for test 0.003
adapt resource to page 0.003
adapt resource to value map 0.002
adapt resource to node 0
verify test content was imported successfully[0] 0
verify test content was imported successfully[1] 0
verify excluded content was not imported 0
add models for package 0.022
register injector 0.009
model factory 0.004

RuleSpec

adapt to page manager 0.003
adapt to tag manager 0.004

Back to top