sql-odbc/src/TestRunner/mako_template.html [163:225]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<%
total_cnt = test_case["TestCount"]
pass_cnt = test_case['PassCount']
status = ("Passed " + pass_cnt) if (total_cnt == pass_cnt) else ("Failed " + str(int(total_cnt) - int(pass_cnt)))
status = status + "/" + total_cnt
%>
Test Name |
Time |
Result |
% for test_result in test_case["TestResults"]:
% if "Error" in test_result:
% else:
% endif
${test_result["TestName"]} |
${test_result["TestTime"]} |
${test_result["TestResult"]} |
% endfor
% endfor
% endfor
Unit Test |
Cases |
Errors |
% for integration_test in data["IT"]:
${integration_test["UnitTest"]} |
${integration_test["TotalTestCases"]} |
${str(int(integration_test['TotalTestCases']) - int(integration_test['CasePassCount']))} |
% endfor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sql-odbc/src/TestRunner/mako_template.html [237:299]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<%
total_cnt = test_case["TestCount"]
pass_cnt = test_case['PassCount']
status = ("Passed " + pass_cnt) if (total_cnt == pass_cnt) else ("Failed " + str(int(total_cnt) - int(pass_cnt)))
status = status + "/" + total_cnt
%>
Test Name |
Time |
Result |
% for test_result in test_case["TestResults"]:
% if "Error" in test_result:
% else:
% endif
${test_result["TestName"]} |
${test_result["TestTime"]} |
${test_result["TestResult"]} |
% endfor
% endfor
% endfor
Unit Test |
Cases |
Errors |
% for integration_test in data["IT"]:
${integration_test["UnitTest"]} |
${integration_test["TotalTestCases"]} |
${str(int(integration_test['TotalTestCases']) - int(integration_test['CasePassCount']))} |
% endfor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -