2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-03 09:32:10 +00:00
Commit Graph

593 Commits

Author SHA1 Message Date
Gennadiy Rozental
85bfc01924 BOOST_TEST now accepts second optional second arg, in which case it behaves as BOOST_CHECK_MESSAGE
[SVN r81138]
2012-11-01 22:29:38 +00:00
Gennadiy Rozental
ca9c11fe35 improve data test case interface to support case without param name
[SVN r81107]
2012-10-29 20:21:14 +00:00
Gennadiy Rozental
9c6e6e6d44 moved keywords
[SVN r81021]
2012-10-20 09:35:58 +00:00
Gennadiy Rozental
d850279424 updated interface
[SVN r81020]
2012-10-19 21:51:13 +00:00
Jürgen Hunold
8aa644ca95 Fix: guard usage of c++11 <type_traits>
[SVN r81015]
2012-10-18 20:24:15 +00:00
Gennadiy Rozental
95b3f422c5 license update
[SVN r81012]
2012-10-18 08:26:30 +00:00
Gennadiy Rozental
c0f3377cb4 new param_type meta function which can be used to deduce type of the input parameter at compile type
license update

[SVN r81011]
2012-10-18 08:19:41 +00:00
Gennadiy Rozental
39e9ac3874 new "data driven test case" subsystem
[SVN r81009]
2012-10-18 07:43:44 +00:00
Gennadiy Rozental
228d0ebf4a fixed namespace
[SVN r80369]
2012-09-03 08:21:58 +00:00
Paul A. Bristow
563c0a386e Use BOOST_NO_CXX11_NUMERIC_LIMITS rather than now deprecated BOOST_NO_NUMERIC_LIMITS_LOWEST
[SVN r79466]
2012-07-13 09:17:54 +00:00
Paul A. Bristow
b0ffa72c0d changed to test for support of max_digits10 isuing
BOOST_NO_NUMERIC_LIMITS_LOWEST is a proxy for support of max_digits10.

See https://svn.boost.org/trac/boost/ticket/5758#comment:6

[SVN r79379]
2012-07-09 13:52:43 +00:00
Paul A. Bristow
0755a41be1 Commented out output for radix 10 using max_digits10 until can test that it is supported.
[SVN r78942]
2012-06-14 10:22:36 +00:00
Paul A. Bristow
5d0597852d Added test for radix 10 to use max_digits10 on printing values. https://svn.boost.org/trac/boost/ticket/5758
[SVN r78908]
2012-06-12 11:14:39 +00:00
Steven Watanabe
48687a9627 Fix Boost.Test on MinGW/__STRICT_ANSI__
[SVN r78540]
2012-05-22 16:14:07 +00:00
Dave Abrahams
4d2812d744 Replace all uses of boost/utility.hpp with more-granular includes. Solves modularization dependency nightmare.
[SVN r78502]
2012-05-18 04:44:04 +00:00
Gennadiy Rozental
f0c982a849 Fixes #6331
[SVN r76600]
2012-01-20 23:16:14 +00:00
Gennadiy Rozental
23c85f515c eliminated warning in framework.ipp\nBetter type name for gcc builds
[SVN r75373]
2011-11-07 09:50:55 +00:00
Gennadiy Rozental
f649355824 added missing forward
[SVN r75370]
2011-11-07 09:00:24 +00:00
Gennadiy Rozental
fb390a3eb6 use stderr as default stream for reporting leak errors (the same as any other reports)
Fixes #5036


[SVN r75038]
2011-10-18 09:46:23 +00:00
Gennadiy Rozental
cf35524c10 Added missing " # pragma warning(pop) "
Fixes #5870

[SVN r75037]
2011-10-18 09:29:58 +00:00
Gennadiy Rozental
1cde771e74 Added missing static cast for non standard FPT
Fixes #5729

[SVN r75036]
2011-10-18 09:25:37 +00:00
Gennadiy Rozental
b78df21882 avoid crash if testing tool is used in global fixture
Fixes #5563


[SVN r75035]
2011-10-18 09:20:11 +00:00
Gennadiy Rozental
7429bff323 Make Boost.Test error messages to appear in VC10 errors list
Fixes #5374

[SVN r75031]
2011-10-18 08:54:51 +00:00
Gennadiy Rozental
c8159951ec added an ability to redirect leaks report into a file
also enabled use of No/Yes/T/N as parameter value
Fixes #3182

[SVN r75030]
2011-10-18 08:41:56 +00:00
Gennadiy Rozental
743a0220a2 New family of testing tools BOOST_CHECKA (looking for better name
[SVN r75006]
2011-10-17 11:06:14 +00:00
Gennadiy Rozental
cc34873c8b use typeid to report "real" exception type if possible.
Fixes #4911

[SVN r75004]
2011-10-17 07:20:58 +00:00
Gennadiy Rozental
e96a263579 escape CDATA section end within CDATA section
Fixes #5412

[SVN r75003]
2011-10-17 05:26:05 +00:00
Gennadiy Rozental
e2d8dc1584 Added checkpoints at fixture entry points, test case entry point and test case exit point for auto registered test cases
Fixes #5008

[SVN r75002]
2011-10-17 04:35:59 +00:00
Gennadiy Rozental
025ba1c6e8 fixed a bug in context handling
New feature: "nagative" filters
Fixes #5262

[SVN r74994]
2011-10-16 21:26:41 +00:00
Gennadiy Rozental
7924e955b7 Introduces notion of framework shutdown
Fixes #5582

[SVN r74958]
2011-10-16 05:12:00 +00:00
Gennadiy Rozental
5583a8e765 Eliminated some warnings
Reverted back to _MSC_VER

[SVN r74957]
2011-10-16 04:04:57 +00:00
Gennadiy Rozental
347c642083 some portability fixes
[SVN r74910]
2011-10-11 06:42:30 +00:00
Gennadiy Rozental
ac17f5e49c new framework for automated assertion construction
[SVN r74880]
2011-10-10 08:39:04 +00:00
Jürgen Hunold
f657f4a358 Include <boost/test/tree/global_fixture.hpp> for backward compatibility
[SVN r74875]
2011-10-10 04:48:34 +00:00
Jürgen Hunold
61992e4927 Fix: gcc stdlib declares std::getchar in <cstdio>
[SVN r74874]
2011-10-10 04:46:34 +00:00
Gennadiy Rozental
8e10d0abb9 renamed unit_test_suite.ipp into test_tree.ipp
moved unit_test_parameters.hpp from detail into main directory
New CLA wait_for_debugger: allows to force test module to wait till user attaches debugger

[SVN r74789]
2011-10-08 04:50:38 +00:00
Gennadiy Rozental
7df28b8b1a moved in proper place
[SVN r74718]
2011-10-05 08:40:25 +00:00
Gennadiy Rozental
033555f652 reinstated removed headers temporarily
reinstated removed macro and namespace temporarily

[SVN r74715]
2011-10-05 06:40:50 +00:00
Gennadiy Rozental
03b0d124a8 missing virtual destructor
[SVN r74714]
2011-10-05 06:25:37 +00:00
Gennadiy Rozental
625d2a257f missing include
small logic bug in framework

[SVN r74712]
2011-10-05 04:53:58 +00:00
Gennadiy Rozental
1001749fb1 avoided double ref
[SVN r74711]
2011-10-05 04:16:12 +00:00
Gennadiy Rozental
e92119563b reinstated for now
[SVN r74676]
2011-10-03 20:35:43 +00:00
Gennadiy Rozental
25d7de0650 some missing files
[SVN r74666]
2011-10-03 10:57:52 +00:00
Gennadiy Rozental
535c7f772e New decorator::fixture - finally we have suite level fixtures
Separated test unit start/finish logic to share common parts
unit_test_monitor interface generalized to support sunning fixture methods
Fixed couple logic bugs in name filter handling

[SVN r74665]
2011-10-03 10:53:28 +00:00
Gennadiy Rozental
1df0dd5850 Removed unit_test_framework namespace
test_being_aborted moved into framework namespace
New decorators: enable_if/disable_if to facilitate change status at construction time
Further work on restructuring unit_test_suite_impl split into multiple new headers under boost/test/tree/decorator.hpp

[SVN r74663]
2011-10-03 06:59:41 +00:00
Gennadiy Rozental
e8bcb5ada1 corrected manipulator handling in lazy_ostream
added some forwards 

[SVN r74641]
2011-10-02 09:53:11 +00:00
Gennadiy Rozental
235acea2fa Removed deprecated headers/interfaces:
auto_unit_test.hpp
    test_exec_monitor.hpp (Test Execution Monitor)
    unit_test_framework.hpp
    BOOST_BITWISE_EQUAL( L, R )
    BOOST_MESSAGE( M )
    BOOST_CHECKPOINT( M )
Eliminated callback.hpp in favor of boost::function. 
Eliminated need for sero_return_wrapper
Eliminated test_func_with_bound_param in favor of boost::bind
Eliminated auto_tc_exp_fail in favor on new decorator based implementation
Started header reorganization.
    introduced subdirectory tools for testing tools related headers 
    introduced subdirectory tree for test tree management related headers
    introduced subdirectory interaction for interaction based testing
    test_tools.hpp header split into interface (stay as it was) and implementation places in tools/impl.hpp
Execution monitor: new interface vexecute - to be used to monitor nullary functions with no result values
Introduced notion of auto-registered test unit decorators. General interface and infrastructure put in place. Following decorators already implemented:
    decorator::label - adds labels to a test unit
    decorator::expected_failures - set expected failures for test unit
    decorator::timeout - sets timeout for test unit
    decorator::description - sets test unit description
    decorator::depends_on - sets test unit dependency
New macro BOOST_TEST_DECORATOR is to be used to specify decorators
Added operator+ and operator += for basic_cstring and std::string
Eliminated some old workarounds
BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES deprecated use decorator interface instead
test_case::test_func switched back to readonly property
test_tree_visitor interface extended to facilitate visitors applying the same action to all test units. Added:
     virtual bool    visit( test_unit const& )
and redirected other interfaces use it as default.
Fixed bug in lazy_ostream_impl construction

[SVN r74640]
2011-10-02 09:00:16 +00:00
Gennadiy Rozental
971ed7f606 introduced support for "run by label"
run by name/label now recognizes dependencies
traverse_test_tree now able traverse whole tree ignoring enable/disable status
dependencies became public property of test unit

[SVN r74402]
2011-09-16 03:26:16 +00:00
Gennadiy Rozental
601eab0343 made "run" argument multiplicable
facilitated CLA parser reuse for multiple parsing sessions (mostly for internal unit testing)
introduced list_context CLA


[SVN r74401]
2011-09-16 03:22:37 +00:00
Gennadiy Rozental
c177f7062c facilitated CLA parser reuse for multiple parsing sessions
fixed bug in handling boolean parameters

[SVN r74400]
2011-09-16 03:19:43 +00:00