We have created a common thread structure to control how we want to use threads in our applications. Are there any frameworks like gtest or cppunit that focus solely on unit testing threads, thread pools, thread queues, etc.?
Right now I'm just looking at a few steps that, as I know, should cover and perform code checks to make sure certain conditions are met (for example, the values ββare not damaged. B / ca shared resource two or more threads were simultaneously available at the same time) . If I canβt create a final check, then I go to the debugger, but this is similar to testing in the 1990s.
I would like to more systematically test the functionality of the streaming structure for its internal functions, which may not be the same as for all stream frameworks, but I also want to test the general functionality that all stream structures should have (for example, not corrupting data , as well as calculations that they should be, etc.).
Any suggestions are welcome.
c ++ multithreading unit-testing frameworks
Brian t hannan
source share