kicad-developers team mailing list archive
Mailing list archive
Re: Questions to the QA code
I've used GTest, Doctest and Catch2, and they'll all get the job done;
Doctest is definitely the fastest to compile, but also has the least of
features; Catch and GTest have the most features.
I wasn't aware that GMock could operate separately from GTest, but if it
can, that's pretty neat.
I believe Doctest and Catch both are single header - I know at least Catch
is a single header; but I think it makes sense to use a git submodule in
On Sun, Jan 17, 2021, 12:15 AM Andrew Lutsenko <anlutsenko@xxxxxxxxx> wrote:
> I would also suggest to look towards gtest/gmock.
> It's widely adopted, works with cmake out of the box, has integrations
> with popular IDEs and a good choice of supporting tools like parallelized
> runners, GUI inspectors etc.
> You can also use gmock separately from gtest.
> On Sat, Jan 16, 2021 at 6:47 AM Seth Hillbrand <seth@xxxxxxxxxxxxx> wrote:
>> Hi Sylwester-
>> I haven't used HippoMocks but in general, adding QA tests is always
>> welcome as long as they run as expected under the Fedora docker we use for
>> online QA with GitLab.
>> The downside of HippoMocks from what I can gather is that the project
>> appears abandoned. If I'm incorrect here, can you link to the current
>> On Fri, Jan 15, 2021 at 2:49 PM Sylwester Kocjan <s.kocjan@xxxxx> wrote:
>>> I have two questions regarding QA code for KiCad and I'd like to ask for
>>> your comments about them:
>>> 1. I reviewed contents of qa directory in KiCad repo and I saw some
>>> issues that can be fixed.
>>> Could you please take a look at the summary and let me know if they
>>> are valid:
>>> 2. What do you think about adding mocking library to the KiCad code? I
>>> found that PGM object is mocked few times
>>> A libary for creating mocks would simplify creting the tests. In this
>>> MR and commit:
>>> there is added HippoMocks, a single-header mocking tool and it does
>>> it's job.
>>> If that's ok, it could help to get rid of these duplicated mocks
>>> (maybe even hand-written mocks at all).
>>> Best regards,
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>> [image: KiCad Services Corporation Logo]
>> Seth Hillbrand
>> *Lead Developer*
>> +1-530-302-5483 <+1%20530-302-5483>
>> Long Beach, CA
>> www.kipro-pcb.com info@xxxxxxxxxxxxx
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp