Within a BOOST_FIXTURE_TEST_CASE, you can set a tolerance for all BOOST_TEST calls like so: However, I cannot find a way to make this work with BOO ...
Within a BOOST_FIXTURE_TEST_CASE, you can set a tolerance for all BOOST_TEST calls like so: However, I cannot find a way to make this work with BOO ...
I would like to use the BOOST_TEST machinery to compare mathematical vector types using plain (in)equality operators. I can only find how to tell Boo ...
I'm writing a simple game in C++ with use of SFML. I want to use boost tests, but when i try to i get undefined reference in every place i use SFML fe ...
Let's say I have the following test code: struct MyData { MyData( int in_, double out_ ) : m_in{ in_ } , m_out{ out_ } {} int ...
I'm writing a unit test program with Boost.Test and cross-compiling it for several embedded platforms in an OpenWrt environment. The Boost version is ...
I have many tests which depend on stochastic procedures. Rarely, the tests fail, as you basically get unlucky with the random numbers. However, somet ...
I have a test file that uses Boost libraries and it builds correctly. My goal is to run the test cases by setting up a run configuration in QT Creator ...
A project I am working on uses continuous integration (CI) system that automatically builds and runs all test suites. Auto tests are run without any c ...
I have a linker error when using Boost.Test with precompiled header (PCH) that does not occur without PCH. I use the dynamically linked library as des ...
I am dealing with something mysterious or I am not thinking straight. Details are below, I held off on all usings-s, #include-s, etc. in favor of brev ...
I am using Boost Unit Test to perform unit test for my project. I need to test some non-type templates, however seems that using the macro BOOST_AUTO_ ...
Catch2 and Boost.Test provide similar features for writing unit tests. For a certain project I have to use Boost.Test instead of Catch2. The problem I ...
I'm running a Boost Test test/suite by name, using: Unfortunately i'm getting hundreds of: But I didn't disable it, I simply chose to not run it ...
So this has been asked alot of times but I havent been able to solve my problem within 2 hours, I hope someone can help me, probably there are only 1 ...
I have a test case like this: When I run only this test suite everything is ok. When I run my 80 tests then assert fails with "cannot allocate memo ...
I'm trying to get some data-driven test cases running with BOOST_DATA_TEST_CASE and figured out the basics o far. However, I noticed that the type th ...
I am trying to setup a simple C++ project with CMake and Boost libraries (Boost.Test in this case). I am following this guide except trying to link st ...
I use Boost Test for unit tests. I typically have a fixture struct: However, even if my fixture inherits from ClassBeingTested or uses a friend rel ...
I am trying to implement a test_runner for BOOST_TEST that plugs-in to a set of shared_libs containing the tests. I got the initial sample libs/test/ ...
I am trying to use Boost.Test (v1.69.0) with modern CMake (v3.15.0) to write and build my unit tests. The main difficulty is to split my tests in seve ...