Python Library Unittest
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

run_statistic.tex 819B

12345678910111213
  1. {%- import 'macros.tex' as macros %}
  2. \begin{tabu} to \linewidth {lX}
  3. \toprule
  4. Number of tests & {{ "{\\bf %d}" % testrun.number_of_tests }}\\
  5. Number of successfull tests & {{ "{\\bf %d}" % testrun.number_of_successfull_tests }}\\
  6. Number of possibly failed tests & \textcolor{% if testrun.number_of_possibly_failed_tests > 0%}{orange}{% else %}{black}{% endif %}{{ "{\\bf %d}" % testrun.number_of_possibly_failed_tests }}\\
  7. Number of failed tests & \textcolor{% if testrun.number_of_failed_tests > 0%}{red}{% else %}{black}{% endif %}{{ "{\\bf %d}" % testrun.number_of_failed_tests }}\\
  8. \midrule
  9. Executionlevel & {{ macros.latex_filter(testrun.testcase_names.get('%d' % testrun.testcase_execution_level, 'unknown')) }}\\
  10. Time consumption & {{ '%.3fs' % testrun.time_consumption }}\\
  11. \bottomrule
  12. \end{tabu}