testorg_summary.qbk 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. [/
  2. / Copyright (c) 2015 Raffi Enficiaud
  3. /
  4. / Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. /]
  7. [section Summary of the API for declaring and organizing tests]
  8. [table
  9. [
  10. [Macro]
  11. [Short description]
  12. ]
  13. [/ ###############################################################################################]
  14. [/ Test cases]
  15. [
  16. [__BOOST_TEST_CASE__] [__BOOST_TEST_CASE_NAME__]
  17. [Manual registration of a test case]
  18. ]
  19. [
  20. [__BOOST_AUTO_TEST_CASE__]
  21. [Automatic declaration and registration of a test case]
  22. ]
  23. [
  24. [__BOOST_PARAM_TEST_CASE__]
  25. [Automatic declaration and registration of a test case with a collection of parameters]
  26. ]
  27. [
  28. [__BOOST_AUTO_TEST_CASE_TEMPLATE__]
  29. [Automatic declaration and registration of a typed test case]
  30. ]
  31. [
  32. [__BOOST_TEST_CASE_TEMPLATE__]
  33. [Registration of a typed test case with an `boost::mpl` like sequence of types]
  34. ]
  35. [
  36. [__BOOST_TEST_CASE_TEMPLATE_FUNCTION__]
  37. [Declaration of the body of a typed test case]
  38. ]
  39. [
  40. [__BOOST_DATA_TEST_CASE__]
  41. [Declaration of the body of a test case on datasets]
  42. ]
  43. [
  44. [__BOOST_DATA_TEST_CASE_F__]
  45. [Same as __BOOST_DATA_TEST_CASE__ with fixtures support]
  46. ]
  47. [
  48. [__BOOST_TEST_DATASET_MAX_ARITY__]
  49. [Controlling the maximal arity of the data test case declared with __BOOST_DATA_TEST_CASE__]
  50. ]
  51. [/ ###############################################################################################]
  52. [/ Test suites]
  53. [
  54. [__BOOST_TEST_SUITE__]
  55. [Manual creation of a test suite instance]
  56. ]
  57. [
  58. [__BOOST_AUTO_TEST_SUITE__]
  59. [Automatic declaration of a test suite]
  60. ]
  61. [
  62. [__BOOST_AUTO_TEST_SUITE_END__]
  63. [Automatic declaration of a test suite]
  64. ]
  65. [/ ###############################################################################################]
  66. [/ Decorator]
  67. [
  68. [__BOOST_TEST_DECORATOR__]
  69. [Adds decorators to a test unit]
  70. ]
  71. [/ ###############################################################################################]
  72. [/ Fixtures]
  73. [
  74. [__BOOST_FIXTURE_TEST_CASE__]
  75. [Declares a test case with a fixture]
  76. ]
  77. [
  78. [__BOOST_FIXTURE_TEST_SUITE__]
  79. [Declares a fixture for a test suite (the setup/teardown is called for each test of the test suite)]
  80. ]
  81. [
  82. [__BOOST_TEST_GLOBAL_FIXTURE__]
  83. [Declares a fixture globally to the test module]
  84. ]
  85. ]
  86. [table
  87. [
  88. [Decorator]
  89. [Short description]
  90. ]
  91. [
  92. [__decorator_depends_on__]
  93. [Creates a dependency (in the execution order and __default_run_status__) from one test case to another.]
  94. ]
  95. [
  96. [__decorator_description__]
  97. [Attaches a semantic string to a test unit, that is visible from the command line interface.]
  98. ]
  99. [
  100. [__decorator_enabled__ , __decorator_disabled__]
  101. [Enables or disables unconditionally a test unit. The action of these decorators may be overridden by the command line interface]
  102. ]
  103. [
  104. [__decorator_enable_if__]
  105. [Enables conditionally a test unit. The action of these decorators may be overridden by the command line interface]
  106. ]
  107. [
  108. [__decorator_fixture__]
  109. [Attaches a fixture to a test unit]
  110. ]
  111. [
  112. [__decorator_label__]
  113. [Labels a test unit to form a logical group]
  114. ]
  115. [
  116. [__decorator_precondition__]
  117. [Enables or disables a test unit based on a predicate evaluated just before the execution of the test case.]
  118. ]
  119. ]
  120. [endsect]