Re: [Kicad-developers] Questions to the QA code

2021-01-28 Thread Wayne Stambaugh
Hi Sywester, Turtle mocks looks like a better fit than gMock/gTest since it's based on Boost which is already a dependency. At least it looks like the project is still maintained. I don't know how it compares feature wise to gMock so there may some things missing but are they significant enough

Re: [Kicad-developers] Questions to the QA code

2021-01-26 Thread Sylwester Kocjan
Hello, Heres a follow-up about mocks in the qa tests. I prepared example use of Turtle library. My observations below: - integrates easily with Boost.Test (HippoMocks didnt require any integration, gmock will be harder, gitlab.com gitlab.com ) - looks similar in use to google mocks - its

Re: [Kicad-developers] Questions to the QA code

2021-01-17 Thread Jeff Young
I’ve used Mockito. Can’t say I remember a thing about it, though (which could be good?). Cheers, Jeff. > On 17 Jan 2021, at 14:49, Sylwester Kocjan wrote: > > Hello, > > On 17/01/2021 09:47, Alex wrote: > > ...GTest, Doctest and Catch2, (...) they'll all get the job done > > They are all

Re: [Kicad-developers] Questions to the QA code

2021-01-17 Thread Sylwester Kocjan
Hello, On 17/01/2021 09:47, Alex wrote: > ...GTest, Doctest and Catch2, (...) they'll all get the job done They are all testing frameworks without mocking capability. We have already Boost.Test based tests and I find it unnecessary effort to migrate them, and alone they don't solve the

Re: [Kicad-developers] Questions to the QA code

2021-01-17 Thread Alex
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

Re: [Kicad-developers] Questions to the QA code

2021-01-16 Thread Andrew Lutsenko
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. Andrew On Sat, Jan 16,

Re: [Kicad-developers] Questions to the QA code

2021-01-16 Thread Seth Hillbrand
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