All Projects → boostorg → Test

boostorg / Test

Licence: bsl-1.0
The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)

Projects that are alternatives of or similar to Test

Ut
UT: C++20 μ(micro)/Unit Testing Framework
Stars: ✭ 507 (+352.68%)
Mutual labels:  boost, unit-testing
Cmake Examples
Useful CMake Examples
Stars: ✭ 7,220 (+6346.43%)
Mutual labels:  boost, unit-testing
Phpunit Json Assert
PHPUnit assertions for JSON documents
Stars: ✭ 90 (-19.64%)
Mutual labels:  unit-testing
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+9458.93%)
Mutual labels:  unit-testing
Unit Threaded
Advanced unit test framework for D
Stars: ✭ 100 (-10.71%)
Mutual labels:  unit-testing
Vue Test
🏁 DEPRECATED: Component testing for Vue.js
Stars: ✭ 92 (-17.86%)
Mutual labels:  unit-testing
Atoum
The modern, simple and intuitive PHP unit testing framework.
Stars: ✭ 1,382 (+1133.93%)
Mutual labels:  unit-testing
Bitsofbytes
Code and projects from my blog posts.
Stars: ✭ 89 (-20.54%)
Mutual labels:  unit-testing
Spring Data Mock
Mock facility for Spring Data repositories
Stars: ✭ 110 (-1.79%)
Mutual labels:  unit-testing
Airtap
Run TAP unit tests in 1789+ browsers.
Stars: ✭ 1,364 (+1117.86%)
Mutual labels:  unit-testing
Rspec
(Rust) Rspec - a BDD test harness for stable Rust
Stars: ✭ 106 (-5.36%)
Mutual labels:  unit-testing
Js Unit Testing Guide
📙 A guide to unit testing in Javascript
Stars: ✭ 1,346 (+1101.79%)
Mutual labels:  unit-testing
Kotlinrxmvparchitecture
Clean MVP Architecture with RxJava + Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Includes Unit Tests(Kotlin Tests)!
Stars: ✭ 94 (-16.07%)
Mutual labels:  unit-testing
Automation Arsenal
Curated list of popular Java and Kotlin frameworks, libraries and tools related to software testing, quality assurance and adjacent processes automation.
Stars: ✭ 105 (-6.25%)
Mutual labels:  unit-testing
React Redux Starter Kit
Modular starter kit for React+Redux+React Router projects.
Stars: ✭ 92 (-17.86%)
Mutual labels:  unit-testing
Moderncppci
This is an example of doing a Modern C++ project with CI
Stars: ✭ 109 (-2.68%)
Mutual labels:  unit-testing
Saul
Experimental annotation-based javascript unit tests 🚀
Stars: ✭ 90 (-19.64%)
Mutual labels:  unit-testing
Cuckoo
Boilerplate-free mocking framework for Swift!
Stars: ✭ 1,344 (+1100%)
Mutual labels:  unit-testing
Xunit.analyzers
Roslyn analyzers for xUnit.net (please open issues in https://github.com/xunit/xunit)
Stars: ✭ 102 (-8.93%)
Mutual labels:  unit-testing
Cpp Rotor
Event loop friendly C++ actor micro-framework
Stars: ✭ 111 (-0.89%)
Mutual labels:  boost

boosttest logo

What is Boost.Test?

Boost.Test is a C++03/11/14/17 unit testing library, available on a wide range of platforms and compilers.

The library is part of Boost. The latest release of the library is available from the boost web site.

Full instructions for use of this library can be accessed from http://www.boost.org/doc/libs/release/libs/test/

Key features

  • Easy to get started with:
    1. download and deflate the latest boost archive
    2. create a test module with this (header version):
      #define BOOST_TEST_MODULE your_test_module
      #include <boost/test/included/unit_test.hpp>
      
    3. Write your first test case:
      BOOST_AUTO_TEST_CASE( your_test_case ) {
          std::vector<int> a{1, 2};
          std::vector<int> b{1, 2};
          BOOST_TEST( a == b );
      }
      
    4. build and run
    5. done
  • powerful and unique test assertion macro BOOST_TEST, that understands floating points, collections, strings... and uses appropriate comparison paradigm
  • self-registering test cases, organize cases in test suites, apply fixtures on test cases, suites or globally
  • provide assertion context for advanced diagnostic on failure
  • powerful and extensible dataset tests
  • add decoration to test cases and suites for advanced description, group/label, and dependencies
  • powerful command line options and test case filters
  • extensible logging, XML and JUNIT outputs for third-party tools (eg. cont. integration)
  • various usage (shared/static library/header only) for faster integration and/or compilation/build cycles, smaller binaries

Copyright and license

Copyright 2001-2014, Gennadiy Rozental.
Copyright 2013-2020, Boost.Test team.

Distributed under the Boost Software License, Version 1.0.
(Get a copy at www.boost.org/LICENSE_1_0.txt)

Contribute

Please read this document to get started.

Build Status

Branch Travis Appveyor codecov.io Deps Docs Tests
master Build Status Build status codecov Deps Documentation Enter the Matrix
develop Build Status Build status codecov Deps Documentation Enter the Matrix
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].