testing_tools_summary.qbk 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. [/
  2. / Copyright (c) 2015 Boost.Test contributors
  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 Summary of the API for writing tests]
  8. [table
  9. [
  10. [Assertions]
  11. [Short description]
  12. ]
  13. [/ ###############################################################################################]
  14. [
  15. [__BOOST_TEST__, __BOOST_TEST_LEVEL__]
  16. [General purpose assertion macro.]
  17. ]
  18. [/ ###############################################################################################]
  19. [
  20. [__BOOST_LEVEL__]
  21. [Simple validation of a boolean predicate value.]
  22. ]
  23. [/ ###############################################################################################]
  24. [
  25. [__BOOST_LEVEL_BITWISE_EQUAL__]
  26. [Bitwise equality test of two elements.]
  27. ]
  28. [/ ###############################################################################################]
  29. [
  30. [__BOOST_LEVEL_EQUAL__]
  31. [Equality test of two elements.]
  32. ]
  33. [/ ###############################################################################################]
  34. [
  35. [__BOOST_LEVEL_EQUAL_COLLECTIONS__]
  36. [Element-wise equality test of two collections.]
  37. ]
  38. [/ ###############################################################################################]
  39. [
  40. [__BOOST_LEVEL_CLOSE__]
  41. [Floating point comparison using a percentage of deviation.]
  42. ]
  43. [/ ###############################################################################################]
  44. [
  45. [__BOOST_LEVEL_CLOSE_FRACTION__]
  46. [Floating point comparison using the fraction of the compared operands.]
  47. ]
  48. [/ ###############################################################################################]
  49. [
  50. [__BOOST_LEVEL_EXCEPTION__]
  51. [Exception detection and validation check.]
  52. ]
  53. [/ ###############################################################################################]
  54. [
  55. [__BOOST_LEVEL_GE__]
  56. [Comparison of two values (with convenient reporting).]
  57. ]
  58. [/ ###############################################################################################]
  59. [
  60. [__BOOST_LEVEL_GT__]
  61. [Comparison of two values (with convenient reporting).]
  62. ]
  63. [/ ###############################################################################################]
  64. [
  65. [__BOOST_LEVEL_LE__]
  66. [Comparison of two values (with convenient reporting).]
  67. ]
  68. [/ ###############################################################################################]
  69. [
  70. [__BOOST_LEVEL_LT__]
  71. [Comparison of two values (with convenient reporting).]
  72. ]
  73. [/ ###############################################################################################]
  74. [
  75. [__BOOST_LEVEL_MESSAGE__]
  76. [Same as __BOOST_LEVEL__ with a custom message in case of failure.]
  77. ]
  78. [/ ###############################################################################################]
  79. [
  80. [__BOOST_LEVEL_NE__]
  81. [Comparison of two values (with convenient reporting).]
  82. ]
  83. [/ ###############################################################################################]
  84. [
  85. [__BOOST_LEVEL_NO_THROW__]
  86. [Checks an expression does not throw any exception.]
  87. ]
  88. [/ ###############################################################################################]
  89. [
  90. [__BOOST_LEVEL_PREDICATE__]
  91. [Checks a list of arguments against a predicate functor.]
  92. ]
  93. [/ ###############################################################################################]
  94. [
  95. [__BOOST_LEVEL_SMALL__]
  96. [Checks a value is small according to a tolerance.]
  97. ]
  98. [/ ###############################################################################################]
  99. [
  100. [__BOOST_LEVEL_THROW__]
  101. [Checks an expression throws a specific type of expression.]
  102. ]
  103. [/ ###############################################################################################]
  104. [
  105. [__BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES__]
  106. [Indicates the number of expected failures for a test case]
  107. ]
  108. [/ ###############################################################################################]
  109. [
  110. [__BOOST_ERROR__]
  111. [Logs an error message, fails but does not abort the current test.]
  112. ]
  113. [/ ###############################################################################################]
  114. [
  115. [__BOOST_FAIL__]
  116. [Logs an error message, fails and aborts the current test.]
  117. ]
  118. [/ ###############################################################################################]
  119. [
  120. [__BOOST_IS_DEFINED__]
  121. [Checks at runtime whether or not the supplied preprocessor symbol is defined.]
  122. ]
  123. ]
  124. [table
  125. [
  126. [Decorators]
  127. [Short description]
  128. ]
  129. [
  130. [__decorator_expected_failures__]
  131. [Indicates the expected failures of a test unit.]
  132. ]
  133. [
  134. [__decorator_timeout__]
  135. [Sets the maximum amount of time a test unit should take.]
  136. ]
  137. [
  138. [__decorator_tolerance__]
  139. [Sets the floating point comparison tolerance for a test unit.]
  140. ]
  141. ]
  142. [table
  143. [
  144. [Control macros]
  145. [Short description]
  146. ]
  147. [
  148. [__BOOST_TEST_TOOLS_UNDER_DEBUGGER__]
  149. [When defined, test assertions are compiled in debugger-friendly mode.]
  150. ]
  151. [
  152. [__BOOST_TEST_TOOLS_DEBUGGABLE__]
  153. [When defined, test assertions are compiled in two modes (debugger-friendly and full-featured), and the version is selected at run-time.]
  154. ]
  155. ]
  156. [endsect] [/ testing tools]