Test Smart Brain implementation
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {%- import 'macros.tex' as macros %}
  2. {%- include 'unittest_head.tex' %}
  3. {%- include 'unittest_titlepage.tex' %}
  4. \tableofcontents
  5. \newpage
  6. \section{Test System Information}
  7. {%- with system_information = data.system_information %}
  8. {%- include 'system.tex' %}
  9. {%- endwith %}
  10. \section{Test Object Information}
  11. {%- with object_information = data.testobject_information %}
  12. {%- include 'object.tex' %}
  13. {%- endwith %}
  14. \section{Summary}
  15. {%- with testrun = data %}
  16. {%- include 'run_statistic.tex' %}
  17. {%- endwith %}
  18. {% if data.number_of_failed_tests > 0 or data.number_of_possibly_failed_tests > 0%}
  19. \section{\textcolor{red}{Testcases (Failed)}}
  20. {%- for test_name in data.uid_list_sorted %}
  21. {% with testcase = data.testcases[test_name] %}
  22. {% if testcase.levelno > 20 %}
  23. \subsection{ {{macros.latex_filter(testcase.message)}} }
  24. {% with details = true %}
  25. {% include 'report_testcase.tex' %}
  26. {% endwith %}
  27. {% endif %}
  28. {% endwith %}
  29. {% endfor %}
  30. {% endif %}
  31. {% if data.number_of_successfull_tests > 0 %}
  32. \section{\textcolor{green}{Testcases (Success)}}
  33. {%- for test_name in data.uid_list_sorted %}
  34. {% with testcase = data.testcases[test_name] %}
  35. {% if testcase.levelno <= 20 %}
  36. \subsection{ {{macros.latex_filter(testcase.message)}} }
  37. {% with details = details %}
  38. {% include 'report_testcase.tex' %}
  39. {% endwith %}
  40. {% endif %}
  41. {% endwith %}
  42. {% endfor %}
  43. {% endif %}
  44. {% include 'unittest_foot.tex' %}