Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hey Walter,

On Fri, Aug 15, 2014 at 12:49 AM, Walter Borges <whiskeybravo@gmail.com> wrote:
Hello

Is this test library still maintained?

Yes. I'm working from time to time on it and are currently working
towards a new release with most likely two new features.


If so, is there a way to run tests in parallel to take advantage of multi
core processors?



There is none and I'm currently not planning to add one. There are
several reasons why I think adding this feature might not be a good
idea:

1.) There is currently no platform independent thread library in the
standard library (we still use c++03)
2.) Makes your tests more complex
3.) Adds concurrency issues to your tests (especially if there are
some shared resources)
4.) Makes the execution non-deterministic
5.) Makes the cppunit code much more complex as we need to think about
which code is a shared resource

There are most likely more but that are the ones that come to my mind
right now. As Miklos already mentioned I think it is a much better
idea to split the tests into independent test cases that are executed
completely independent and in own processes if you really need the
advantages of multi-core processors.

Regards,
Markus

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.