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

2656 Commits

Author SHA1 Message Date
Raffi Enficiaud
86bf0fc9ae More smoke tests 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
5ecc03c409 Bug fix default argument 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
5d19adbe8f Adding smoke tests for the loggers issue 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
ea7d1be4f5 Bugfix: cast to wrong type 2016-10-31 17:03:50 +01:00
Raffi Enficiaud
02f9a561bc Doc: fix type (trac 12506) 2016-10-18 23:11:52 +02:00
Rene Rivera
78f4081973 Add, and update, documentation build targets. 2016-10-07 23:07:36 -05:00
Raffi Enficiaud
611472f011 Merge branch 'topic/loggers-additional-cleanups' into develop
* topic/loggers-additional-cleanups:
  Loggers: now checking for --logger params correctness
  Logger: cleaned up and improved the API
  being able to add a custom formatter instead of having it in an 'invalid' state
  Additional cleanups
  Additional cleanup of unused fields
  Moving the logger setup into a dedicated function
2016-09-15 07:27:35 +02:00
Raffi Enficiaud
a733f5b951 Loggers: now checking for --logger params correctness
- checking for command line params for --logger
- handling errors properly
- printing informative messages
2016-09-14 18:05:35 +02:00
Raffi Enficiaud
f51aeac5b8 Logger: cleaned up and improved the API
- now experiencing the same behaviour as pre 1.62
- set_stream and set_threshold_level for the loggers are now mutating all loggers, not only the active ones
- renamed function
- when adding a custom logger, it is added to the set of loggers with CUSTOM
- updated the documentation
2016-09-14 14:57:46 +02:00
Raffi Enficiaud
97e039ec9d being able to add a custom formatter instead of having it in an 'invalid' state 2016-09-13 17:55:14 +02:00
Raffi Enficiaud
f60762a278 Additional cleanups 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
38bdd315c1 Additional cleanup of unused fields 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
5438f8bf2a Moving the logger setup into a dedicated function 2016-09-06 20:28:01 +02:00
Raffi Enficiaud
37b6cd93fc Merge branch 'topic/12093-gcc-compilation-issues' into develop
* topic/12093-gcc-compilation-issues:
  Change log update
  gcc 4.6: fixing failing tests
  gcc 4.6: fixing issues related to the new cla and C++11 not fully supported
  gcc 4.6: fixing issues related to operator<< not properly seen by the compiler
2016-09-06 11:30:13 +02:00
Raffi Enficiaud
60c19d599f Change log update 2016-09-06 11:24:59 +02:00
Raffi Enficiaud
a355d6c09e gcc 4.6: fixing failing tests
- narrowing the tests according to additional features not taken into account
- fixing erroneus 'template' as disambiguator
2016-09-06 11:24:59 +02:00
Raffi Enficiaud
580501ef6f gcc 4.6: fixing issues related to the new cla and C++11 not fully supported
- adding C++11 required features for the new cla
- using a unique macro definition everywhere needed
2016-09-06 11:24:59 +02:00
Raffi Enficiaud
1427dc3734 gcc 4.6: fixing issues related to operator<< not properly seen by the compiler 2016-09-06 11:24:59 +02:00
Raffi Enficiaud
5c3a4032f7 Merge branch 'topic/12241-datasets-on-tuples' into next-internal
* topic/12241-datasets-on-tuples:
  Change log update
  Enabling datasets with tuples
2016-09-06 01:19:50 +02:00
Raffi Enficiaud
444d347b01 Merge branch 'topic/loggers-doc-update' into next-internal
* topic/loggers-doc-update:
  Loggers documentation update
  Updating the DATASET documentation wrt. sample named test-cases
  Datasets documentation update
2016-09-06 01:19:29 +02:00
Raffi Enficiaud
d0fda1a48a Loggers documentation update
- major reorganization of the output section
- making more clear what a log and what a report is
- checkpoints doc update
- links to API, improved doxygen documentation and reference
- renamed files and sections
- JUNIT additional doc
- removed useless parts
2016-09-06 01:16:26 +02:00
Raffi Enficiaud
bfb7f4de7a Updating the DATASET documentation wrt. sample named test-cases
- updating the output of the DATASET associated examples
2016-09-06 01:16:26 +02:00
Raffi Enficiaud
cd917e85d4 Datasets documentation update 2016-09-06 01:16:14 +02:00
Raffi Enficiaud
84d21451f9 Change log update 2016-09-06 00:10:33 +02:00
Raffi Enficiaud
b87e9eb921 Enabling datasets with tuples
- adding unit test from the ticket
2016-09-06 00:10:18 +02:00
Raffi Enficiaud
a0fce77912 Merge branch 'topic/progress-log-to-stdout' into next-internal
* topic/progress-log-to-stdout:
  Progress display to stdout
2016-09-04 16:31:40 +02:00
Raffi Enficiaud
495d0aa8d7 Progress display to stdout 2016-09-04 16:30:39 +02:00
Raffi Enficiaud
b43983cf66 Merge branch 'topic/12378-clang-compilation-error' into next-internal
* topic/12378-clang-compilation-error:
  trac #12378: change log update
  Fix compilation with no support of std::initializer_list
2016-09-04 16:24:27 +02:00
Raffi Enficiaud
97460a965b trac #12378: change log update 2016-09-04 16:23:05 +02:00
Daniel Laügt
76f8b40496 Fix compilation with no support of std::initializer_list 2016-09-04 16:21:21 +02:00
Raffi Enficiaud
6ccae8eaf8 Merge branch 'topic/12257-incorrect-line-numbers-test_case_gen' into next-internal
* topic/12257-incorrect-line-numbers-test_case_gen:
  Change log
  trac #12257: fix incorrect line numbers/files generated by test_case_gen
2016-09-04 16:18:07 +02:00
Raffi Enficiaud
03d859bec0 Change log 2016-09-04 16:17:43 +02:00
Raffi Enficiaud
f1cb46d4fb trac #12257: fix incorrect line numbers/files generated by test_case_gen 2016-09-04 16:17:43 +02:00
Raffi Enficiaud
dd1558b5be Fixing the header only problem 2016-08-24 19:50:46 +02:00
Raffi Enficiaud
534527701d Merge branch 'topic/1.62-change-log-doc-update' into develop
* topic/1.62-change-log-doc-update:
  Change log and doc update
2016-08-20 23:14:04 +02:00
Raffi Enficiaud
7c84d4f0a7 Change log and doc update 2016-08-18 22:24:27 +02:00
Raffi Enficiaud
8567c2ae8a Merge branch 'topic/8707-8834-junit-several-loggers' into develop
* topic/8707-8834-junit-several-loggers:
  Change log update
  Documentation
  JUnit default output stream
  Logger tests: overriding the output_stream_logger matching algorithm and changing the format of the messages sent by the framework
  Combined logger: CLA handling and stream/log level per formatter
  Junit logger: integration into the set of loggers
  JUnit logger: implementation
  Multiple logger: entry in progress now being per logger as well
  Multiple logger: now enabling a logger by its format
  Multiple logger: breaking changes in the API in order to be able to add a logger per format on the fly
  Loggers: now handling abort signal as well
  Multiple loggers: having several loggers at the same time
  Algorithm: replace all strings with/out wildcards
  output_test_stream: being able to override the match_pattern method by making it virtual (+ other functions)
  output_test_stream: improved messages on error
  Framework: fixing the time associated to each test unit
  issues with VS placeholders
2016-08-18 01:47:55 +02:00
Raffi Enficiaud
c642b50c4b Merge branch 'topic/trac-11859-run-parameters' into develop
* topic/trac-11859-run-parameters:
  Changelog and doc update
  runtime parameter: now using ':' as a separator for each --run_param
2016-08-18 01:46:27 +02:00
Raffi Enficiaud
2c6c4e0b90 Merge branch 'topic/unique_data_test_case_name' into develop
* topic/unique_data_test_case_name:
  Change log update
  dataset test case have their own unique name
  Generate unique test cases name for data test cases series
2016-08-18 01:45:22 +02:00
Raffi Enficiaud
76a8380506 Change log update 2016-08-18 01:44:40 +02:00
Raffi Enficiaud
2ea9ffd7f1 dataset test case have their own unique name
Fixes 11845
Each data test case is not creating a test suite with the name provided by the BOOST_DATA_TEST_CASE directive. Inside that test suite, all samples are added with names _0, _1 ...

- Fix counter after copy/move
2016-08-18 01:44:40 +02:00
Raffi Enficiaud
51b52fefee Change log update 2016-08-18 01:36:51 +02:00
Raffi Enficiaud
b9d5c892cd Documentation 2016-08-18 01:30:07 +02:00
Raffi Enficiaud
48bcabbd37 JUnit default output stream
- string replacement function refactoring
- junit now determining the output stream based on available file
- junit does not replace existing file
2016-08-18 01:30:07 +02:00
Raffi Enficiaud
e3bb5bd056 Logger tests: overriding the output_stream_logger matching algorithm and changing the format of the messages sent by the framework
Rationale: being agnostic to the variable of the unit tests (time, file location)

- the output_test_stream now is being able to replace the content of the stream before it reached the matching algorithm
- several stream processing: file names (cross platform), execution time ... for removing the platform dependant log format
- additional cleanup and fixes for the JUnit implementation (all assertions are now properly logged and flushed at write time in the appropriate section of the file)
- now the framework emits warnings/errors that are signaled by "boost.test framework" instead of a file that is unknown from the user (+1 squashed commit)
2016-08-18 01:30:07 +02:00
Raffi Enficiaud
a7c3116882 Combined logger: CLA handling and stream/log level per formatter
- new CLA argument for being able to specify a logger with repetition, as well as its log level and stream
- the specification of the logger are: logger_name[:log_level[:log_sink]]
- empty token are kept: 'logger_name::' is a valid spec
- now being able to specify a stream per format: modification of the stream helper
- the output stream of a particular format now accepts the name of the stream instead of the name of the associated param on the command line
2016-08-18 01:30:07 +02:00
Raffi Enficiaud
f36bf2a1c0 Junit logger: integration into the set of loggers 2016-08-18 00:17:31 +02:00
Raffi Enficiaud
875dda8de7 JUnit logger: implementation
- Make JUnit logger discard the log levels to log all events
- Currently JUnit discards the file directory where the assertion is being logged
- Uses tree visitation at the end of the test suite in order to generate the log file
2016-08-18 00:17:31 +02:00
Raffi Enficiaud
2b09113c32 Multiple logger: entry in progress now being per logger as well
This is necessary since each logger may have a different log level
2016-08-18 00:17:27 +02:00
Raffi Enficiaud
579384afbe Multiple logger: now enabling a logger by its format 2016-08-18 00:16:06 +02:00