# Tests summary

# Summary for test action %%action_id%%

Overall result: %if bad_tests_count %%bad_tests_count%% TESTS FAILING %else ALL TESTS PASSING %endif

Test case result | Count
%if length(broken_test_cases)
Broken | %%length(broken_test_cases)%%
%else
Broken | %%broken_tests_count%%
%endif %if length(failed_test_cases)
Failed | %%length(failed_test_cases)%%
%else
Failed | %%failed_tests_count%%
%endif
%if length(xfail_test_cases)
%else
%endif
Expected failures | Expected failures | %%xfail_tests_count%%
%if length(skipped_test_cases)
%else
%endif
Skipped | Skipped | %%skipped_tests_count%%
%if length(passed_test_cases)
%else
%endif
Passed | Passed | %%passed_tests_count%%

Execution context

%if length(broken_test_cases)

## Broken test cases

%loop broken_test_cases iter
- %%broken_test_cases(iter)%%
%endloop

%endif %if length(failed_test_cases)

## Failed test cases

%loop failed_test_cases iter
- %%failed_test_cases(iter)%%
%endloop

%endif %if length(xfail_test_cases)

## Expected failures

%loop xfail_test_cases iter
- %%xfail_test_cases(iter)%%
%endloop

%endif %if length(skipped_test_cases)

## Skipped test cases

%loop skipped_test_cases iter
- %%skipped_test_cases(iter)%%
%endloop

%endif %if length(passed_test_cases)

## Passed test cases

%loop passed_test_cases iter
- %%passed_test_cases(iter)%%
%endloop

%endif