Boost Libraries Learn Community Posts Downloads
Libraries Learn Community Posts Downloads
Latest 1.92.0 1.91.0-1 1.91.0 1.90.0 1.89.0 1.88.0 1.87.0 1.86.0 1.85.0 1.84.0 1.83.0 1.82.0 1.81.0 1.80.0 1.79.0 1.78.0 1.77.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.70.0 1.69.0 1.68.0 1.67.0 1.66.0 1.65.1 1.65.0 1.64.0 1.63.0 1.62.0 1.61.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.47.0 1.46.1 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.1 1.34.0 1.33.1 1.33.0 1.32.0 1.31.0 1.30.2 1.30.1 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.1-bgl 1.25.1 1.25.0 1.24.0 1.23.0 1.22.0 1.21.2 1.21.1 1.21.0 1.20.2 1.20.1 1.20.0 1.19.0 1.18.3 1.18.2 1.18.0 1.17.0 1.16.1
Log In
CTRL+K
Latest 1.92.0 1.91.0-1 1.91.0 1.90.0 1.89.0 1.88.0 1.87.0 1.86.0 1.85.0 1.84.0 1.83.0 1.82.0 1.81.0 1.80.0 1.79.0 1.78.0 1.77.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.70.0 1.69.0 1.68.0 1.67.0 1.66.0 1.65.1 1.65.0 1.64.0 1.63.0 1.62.0 1.61.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.47.0 1.46.1 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.1 1.34.0 1.33.1 1.33.0 1.32.0 1.31.0 1.30.2 1.30.1 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.1-bgl 1.25.1 1.25.0 1.24.0 1.23.0 1.22.0 1.21.2 1.21.1 1.21.0 1.20.2 1.20.1 1.20.0 1.19.0 1.18.3 1.18.2 1.18.0 1.17.0 1.16.1
Log In
🇸🇦
Katty Member Since 2026 Board Member, C++ Alliance
GitHub Email Share Profile
Bio

Test Policy

There are required and optional (though highly recommended) tests for libraries.

  • Required

  • Optional

  • Protocol for Fixing Bugs or Adding Features

  • Snapshots

  • See Also

Required

Boost uses an automatic regression test suite which generates HTML compiler status tables. Boost also uses Continuous Integration to ensure these tests are regularly run. Ensure your library testing includes the following:

  1. Every Boost library should supply one or more suitable test programs to be exercised by the Boost regression test suite. In addition to the usual compile-link-run tests expecting successful completion, compile-only or compile-and-link-only tests may be performed, and success for the test may be defined as failure of the steps.

  2. Test program execution must report errors by returning a non-zero value. They may also write to stdout or stderr, but that output should be relatively brief. Regardless of other output, a non-zero return value is the only way the regression test framework will recognize an error has occurred. Note that test programs to be included in the status tables must compile, link, and run quickly since the tests are executed many times.

  3. Libraries with time consuming tests should be divided into a fast-execution basic test program for the status tables, and a separate full-coverage test program for exhaustive test cases. The basic test should concentrate on compilation issues so that the status tables accurately reflect the library’s likelihood of correct compilation on a platform.

  4. If for any reason the usual test policies do not apply to a particular library, an alternate test strategy must be described and implemented.

  5. Authors should supply a Jamfile to drive the regression tests for the library.

Optional

  • Use Boost.Test to create individual test cases and group them into test suites. Then use the library’s test tools for Controlling outputs to verify the expected behavior.

  • For simple cases, you can use the lightweight_test features of Boost.Core.

Protocol for Fixing Bugs or Adding Features

  1. Before fixing the bug, or adding the feature, add regression test cases that detect the bug or tests the feature. Sometimes adding one case suggests similar untested cases, and add those too.

  2. For bugs, run the regression test and verify that the bug is detected.

  3. Now, fix the bug or add the feature.

  4. Rerun the full regression tests, as sometimes the change breaks something else.

Snapshots

Snapshots are used for quality control checks, and are posted to Archives. Because the snapshots represent work-in-process, they may not be suitable for production use.

The Unix tarballs and Windows zipballs are identical except for the line endings exported from Git.

Version

Download

Master branch

Index of /master/

Develop branch

Index of /develop/

The Git master branch can be checked out from boostorg/boost.

Latest Boost Github activity

No Boost contributions in the last 12 months


View on GitHub
Fetching GitHub activity

Achievements

Achievements capture your contributions to Boost — automatically tracked where possible, manually verified for high-value activities.

  • 00
    Code Commits Commits authored to any Boost repository.
  • 00
    Documentation Doc contributions using standardised Boost tooling (Antora / BoostLook).
  • 00
    Library Authoring Authored an original Boost library accepted into the collection.
  • 00
    Library Maintenance Number of libraries actively maintained.
  • 00
    Library Review Formal review submissions on Boost proposals.
  • 00
    Library Versioning Authored new versions / releases of Boost libraries.
  • 00
    Mailing List Participation Participation on the Boost developers mailing list.
  • 00
    News Posts Published Articles / news posts published on Boost.org.

Badges

Badges recognize your journey on Boost — from the contributions you make to the time you've invested and the milestones you've reached along the way.

  • Achievement-based Reflects the depth of your contributions. Accumulate achievements to unlock five tiers; Bronze, Silver, Gold, Platinum and Diamond.
  • Tenure-based Awarded in recognition of your time on the platform. The longer you've been part of the Boost community, the higher the tier you unlock.
  • Boost day celebration A celebration of the day you joined Boost. Awarded annually to mark another year as part of the community.
Contact Terms of Use Privacy Policy Report Bug
Feedback

What do you think of the new website?

Thank you — this is on its way to the team.

Keep them coming as you explore.

Found a bug, or have an idea? We would love to hear from you.

Pick one
Bug
Suggestion
Question
Usability
Incorrect information
Other

Choose File

Optional. PNG or JPEG, up to 2MB — a picture often saves us a lot of guesswork.

Optional. Only used if we need to ask you a follow-up question.

Sent with your browser and current page info.