Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
15 0 0 0 100% 1.419 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
io.github.dawidkc.spring.scopes 15 0 0 0 100% 1.419 s

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

io.github.dawidkc.spring.scopes

- Class Tests Errors Failures Skipped Success Rate Time
ConcurrentTaskScopeTest 1 0 0 0 100% 1.213 s
TaskScopeAOPTest 4 0 0 0 100% 0.098 s
TaskScopeTest 10 0 0 0 100% 0.108 s

Test Cases

[Summary] [Package List] [Test Cases]

ConcurrentTaskScopeTest

should_allow_for_concurrent_task_scope_creations 0.175 s

TaskScopeAOPTest

should_create_new_task_scope_for_middle_annotated_param 0.026 s
should_create_new_task_scope_for_last_annotated_param 0.002 s
should_create_new_task_scope_for_all_annotated_params 0.003 s
should_create_new_task_scope_for_first_annotated_param 0.002 s

TaskScopeTest

should_only_allow_removal_of_the_current_context 0.008 s
should_resolve_injected_context_correctly 0.004 s
should_inject_task_scoped_bean_within_composition_of_contexts 0.011 s
should_inject_task_scoped_bean_within_context 0.003 s
should_inject_task_scoped_bean_within_separate_contexts 0.002 s
should_remove_task_scoped_bean_when_context_is_closed 0.003 s
should_result_in_error_when_no_context_available_for_task_scope_context_bean 0.002 s
should_result_in_error_when_no_context_available_for_task_scoped_bean 0.001 s
should_treat_identical_contexts_as_not_equal_in_nested_scopes 0.001 s
should_resolve_injected_context_correctly_in_nested_scopes 0.003 s