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

2938 Commits

Author SHA1 Message Date
Raffi Enficiaud
412fcc6e12 Merge branch 'topic/GH-158-boost_test_print_type-printing-on-single-value' into next-internal
* topic/GH-158-boost_test_print_type-printing-on-single-value:
  Change log
  Unary expression: fixing the printing issue
2018-09-25 06:45:34 +02:00
Raffi Enficiaud
5ce01d4c9b Scoped color returning to initial color 2018-09-24 21:20:15 +02:00
Raffi Enficiaud
db897f31df Change log 2018-09-24 20:27:46 +02:00
Raffi Enficiaud
cc7796fbe9 Unary expression: fixing the printing issue 2018-09-24 20:27:46 +02:00
Raffi Enficiaud
c4e2813f6d Merge branch 'topic/PR-161-self-containment-in-b2' into next-internal
* topic/PR-161-self-containment-in-b2:
  Change log
  Fixing self-containment issues
  Add check for self-containment of includes
2018-09-24 07:24:25 +02:00
Raffi Enficiaud
a0dbd6a90d Change log 2018-09-24 07:23:16 +02:00
Jürgen Hunold
57c804bc11 Fixing self-containment issues 2018-09-24 07:23:16 +02:00
Raffi Enficiaud
fb7ce3d2f8 Merge branch 'topic/GH-163-slowdown-at-startup' into next-internal
* topic/GH-163-slowdown-at-startup:
  Change log
  Delaying the check on duplicate names during the test initialization
2018-09-24 07:00:39 +02:00
Raffi Enficiaud
22985a64c1 Merge branch 'topic/PR-154-fix-scoped_color' into next-internal
* topic/PR-154-fix-scoped_color:
  Fix: scoped_color does not return the previous color
2018-09-24 06:59:06 +02:00
Raffi Enficiaud
b6af57b2c0 Merge branch 'topic/single-header-multiunit-test' into next-internal
* topic/single-header-multiunit-test:
  Change log
  Documentation update
  Added unit test for single header/multiple translation unit usage variant
2018-09-24 06:58:53 +02:00
Raffi Enficiaud
4a1e3eb8cb Fix: scoped_color does not return the previous color
- minor cleanups
2018-09-24 00:50:48 +02:00
Jürgen Hunold
a7a9474e04 Add check for self-containment of includes
- cleanup trailing whitespace
2018-09-24 00:48:53 +02:00
Raffi Enficiaud
2592b3b35b Change log 2018-09-24 00:47:13 +02:00
Raffi Enficiaud
21537234e1 Documentation update 2018-09-24 00:47:13 +02:00
Gennadiy Rozental
899b676267 Added unit test for single header/multiple translation unit usage variant 2018-09-24 00:47:13 +02:00
Raffi Enficiaud
0adc030be8 Change log 2018-09-24 00:46:11 +02:00
Raffi Enficiaud
4c978f7383 Delaying the check on duplicate names during the test initialization
- Updating tests and ensuring that suites with similar names can coexit
2018-09-24 00:46:11 +02:00
Raffi Enficiaud
49cd9a1784 Merge branch 'topic/remove-broken-singleton' into develop
* topic/remove-broken-singleton:
  Making boost::execution_exception visible
  Removing the singleton related files
  Removing broken Singleton pattern
2018-09-24 00:45:56 +02:00
Raffi Enficiaud
cb5201fa56 Making boost::execution_exception visible 2018-09-24 00:45:29 +02:00
Raffi Enficiaud
e021ca8b68 Removing the singleton related files 2018-09-24 00:45:29 +02:00
Raffi Enficiaud
f08bd860b2 Removing broken Singleton pattern
The singleton is not robust to initialization in several translation units between
shared library with hidden visibility. Removing

Fixing tests accordingly.
2018-09-23 23:44:47 +02:00
Raffi Enficiaud
4df5b095ea Merge branch 'topic/PR-151-BOOST_CLANG-define' into next-internal
* topic/PR-151-BOOST_CLANG-define:
  Change log
  Fix warning: BOOST_CLANG is not defined, evaluates to 0
2018-09-03 07:08:58 +02:00
Raffi Enficiaud
69e918520f Merge branch 'topic/PR-148-doc-colored-output' into next-internal
* topic/PR-148-doc-colored-output:
  Change log
  Fix doc contradiction (thanks to https://github.com/DesWurstes)
2018-09-02 17:40:08 +02:00
Raffi Enficiaud
9bada60a62 Merge branch 'topic/PR-154-correct-non-color-output-handling' into next-internal
* topic/PR-154-correct-non-color-output-handling:
  Change log
  Further cleanup
  When specifying --color_output=no, don't output color codes either
2018-09-02 17:39:10 +02:00
Raffi Enficiaud
dad8d77cc1 Merge branch 'topic/13637-manually-added-test-specify-name' into next-internal
* topic/13637-manually-added-test-specify-name:
  Change log
  New macro for manually adding tests by specifying the name
2018-09-02 17:38:24 +02:00
Raffi Enficiaud
3c789519ca Change log 2018-09-02 17:37:47 +02:00
Raffi Enficiaud
dba055cfdf Fix doc contradiction (thanks to https://github.com/DesWurstes) 2018-09-02 17:37:47 +02:00
Raffi Enficiaud
c50f8ebe8a Change log 2018-09-02 17:37:05 +02:00
Mateusz Łoskot
462945118e Fix warning: BOOST_CLANG is not defined, evaluates to 0
The diagnostic is issued when compiled with GCC/clang flag -Wundef.

Although in case BOOST_CLANG is not defined, ie. is not a macro
and BOOST_CLANG identifier is considered to be zero, the #ifdef
directive makes the intention clearer.
2018-09-02 17:36:58 +02:00
Raffi Enficiaud
22255cfdc9 Change log 2018-09-02 17:33:39 +02:00
Raffi Enficiaud
4152af64b4 New macro for manually adding tests by specifying the name
- BOOST_TEST_CASE_NAME for specifying the name of the test case to add
- Documentation updates
2018-09-02 17:33:29 +02:00
Raffi Enficiaud
d47449389e Change log 2018-09-02 10:23:16 +02:00
Raffi Enficiaud
cdb401ec62 Further cleanup 2018-09-02 10:23:16 +02:00
Nathan Toone
ab714742f5 When specifying --color_output=no, don't output color codes either 2018-09-02 10:22:58 +02:00
Raffi Enficiaud
81c4d667cb Github issues on doc 2018-09-02 10:22:39 +02:00
Raffi Enficiaud
911d6c33f0 Update contributions 2018-09-02 09:57:17 +02:00
Raffi Enficiaud
795b36e7be Bumping version 2018-08-27 15:25:31 +02:00
Raffi Enficiaud
cf0acbc38e Merge branch 'topic/v38-doc-update' into develop
* topic/v38-doc-update:
  Minor change log changes
  colour-output default value fix
  Updating runtime cla-help
  Documentation added on test naming and sanitizing
  Removing tabs
  "--run_test=*" activates the disabled tests
2018-07-29 02:13:05 +02:00
Raffi Enficiaud
f910c45312 Minor change log changes 2018-07-29 02:11:44 +02:00
Raffi Enficiaud
54490c7a0e colour-output default value fix 2018-07-04 22:10:48 +02:00
Raffi Enficiaud
a82df91f33 Updating runtime cla-help 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
3449ff67e1 Documentation added on test naming and sanitizing 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
d477598759 Removing tabs 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
b9f1cdfacd "--run_test=*" activates the disabled tests 2018-06-27 12:30:10 +02:00
Raffi Enficiaud
b4e08ee4bf Merge branch 'topic/12953-access-master_test_suite-in-datatest-cases' into next-internal
* topic/12953-access-master_test_suite-in-datatest-cases:
  Change log
  Another example with different arity
  Datasets based on std::initializer_list fixes
  Delayed/lazy dataset construction
  Handling sequences of size 0

# Conflicts:
#	doc/closing_chapters/change_log.qbk
#	test/Jamfile.v2
2018-06-27 10:26:54 +02:00
Raffi Enficiaud
306ae80178 Merge branch 'topic/13504-short-form-runtime-parameters' into next-internal
* topic/13504-short-form-runtime-parameters:
  Change log
  Unit tests for command line arguments
  Bugfix short form of runtime parameters
2018-06-27 10:23:58 +02:00
Raffi Enficiaud
264e7331d0 Change log 2018-06-27 10:22:46 +02:00
Raffi Enficiaud
9df1f3c493 Another example with different arity 2018-06-27 10:22:46 +02:00
Raffi Enficiaud
b178b8d9a8 Datasets based on std::initializer_list fixes
Since the previous changes, the elements of the std::initializer_list
get destroyed before the test tree initializes properly. The changes
are

- not relying on a moved std::initializer_list for storing the values
of the dataset. Those are moved to a std::vector instead if the
move constructor is noexcept as expected by std::vector,
- providing a template parameter pack for the same type of constructs
in place of the std::initializer_list

Some of the changes are also related to the fact that VS2013 does not
handle properly the std::initializer_list vs template parameter pack.
2018-06-27 10:22:46 +02:00
Raffi Enficiaud
dea96e77bc Delayed/lazy dataset construction
The dataset generators need to access runtime variables, which is
possible only after the test framework enters its setup.

The purpose of those changes is to instanciate the dataset and populate
the test tree during the initialization phase and not during the static
instanciation of the different test case:

- new delayed dataset type that is used for holding the parameters of a dataset
  and its type. This dataset will be instanciated on demand (lazy construct)
- the test tree is now able to hold a generator until the init phase of the test
  module. Once the init reached, the lazy datasets are instanciated and the test
  tree populated with new tests.
- operations like zip do not require the size earlier than needed
2018-06-27 10:22:46 +02:00