← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] [PATCH] simple C++ tests

 

Hello Orson,


Am 07.12.2016 um 10:29 schrieb Maciej Sumiński:
I used to work with projects that had multiple small unit tests and it
was quite neat solution. Do you think it would be much harder to apply
the same rules here? If so, I would not mind having one-to-one relation
between targets and tests, especially that one can easily separate tests
using boost.test judging from the screenshot you posted.

Regards,
Orson
That would absolutely be possible, my intention avoiding that on the first shot was only that I feared having a full executable link process per test/test case might be a bit troublesome in the long run. Did you have no problems with that, how many tests were there, did it slow down the build process at all? No matter how many test targets we produce, CTest will only ever say "passed" or "not passed" for each without any further information of what is the cause, if I'm not completely mistaken.

Michael


Follow ups

References