test/doc
2018-07-04 22:10:48 +02:00
..
adv_scenarios Documentation update for the new macros 2017-06-23 14:54:56 +02:00
closing_chapters Merge branch 'topic/12953-access-master_test_suite-in-datatest-cases' into next-internal 2018-06-27 10:26:54 +02:00
doxygen remove executable bit 2015-02-11 14:22:13 -05:00
examples Updating the documentation 2018-06-25 20:12:37 +02:00
html Doc: list_content/list_label enhancement 2015-10-27 14:34:38 +01:00
introduction Doc: General content on list_labels/list_content switch 2015-10-20 15:00:41 +02:00
prod_use Addressing the issues of the inspection report 2016-11-19 15:06:27 +01:00
runtime_configuration colour-output default value fix 2018-07-04 22:10:48 +02:00
snippet Addressing the issues of the inspection report 2016-11-19 15:06:27 +01:00
test_organization Documentation added on test naming and sanitizing 2018-06-27 12:30:10 +02:00
test_output Fix JUNIT default log level 2018-01-18 14:04:03 +01:00
testing_tools Change log and documentation update 2018-02-10 20:31:09 +01:00
tutorials Add link 2017-12-28 22:49:43 +01:00
adv_scenarios.qbk copyright update 2015-10-19 14:14:43 +02:00
Jamfile.v2 Add, and update, documentation build targets. 2016-10-07 23:07:36 -05:00
README.md Correction of the previous syntax fix 2017-02-14 20:23:15 +01:00
test.qbk Documentation years update 2018-01-18 14:04:03 +01:00
usage_recommendations.qbk Minor documentation changes 2016-11-03 00:07:17 +01:00
usage_variants.qbk copyright update 2015-10-19 14:14:43 +02:00

This folder contains the documentation for the Boost.Test library. Any contribution or submission to the library should be accompanied by the corresponding documentation.

The format of the documentation uses Quickbook.

How to build the documentation

In order to generate the documentation, the following is needed:

  • Docbook
  • Doxygen
  • xsltproc

Doxygen

Part of the documentation needs Doxygen. doxygen should be accessible from the PATH.

Docbook

Quickbook needs Docbook (XSL and XML) to be installed. Download and untar the docbook archives:

The directories $docbook_xsl_directory and $docbook_dtd_directory, respectively, will refer to the location of the deflated archive.

Download xsltproc

This program is needed by Docbook, in order to be able to transform XMLs into HTMLs. xsltproc should be accessible from the PATH.

Construct bjam

Simply by typing in a console at the root of the Boost repository:

> ./bootstrap.[sh|bat]

Build the documentation

Running the following commands will construct the documentation with bjam and all the needed dependencies:

> cd $boost_root/libs/test/doc
> ../../../b2 -sDOCBOOK_XSL_DIR=$docbook_xsl_directory -sDOCBOOK_DTD_DIR=$docbook_dtd_directory
```

It is possible to run directly
```
> ../../../b2
```

but this results in a download from the Internet of the Docbook XLS and DTD, which is much slower.

Recommendations
===============

- Documentation is part of the "definition of done". A feature does not exist until it is implemented, tested, documented and reviewed.
- It is highly recommended that each of your pull request comes with an updated documentation. Not doing so put this work on the shoulders
  of the maintainers and as a result, it would be likely that the pull request is not addressed in a timely manner.
- Please also update the changelog for referencing your contribution
- Every file should come with a copyright notice on the very beginning