Re: [Kicad-developers] Eeschema unit testing
Hi Wayne, On 16/05/2019 20:12, Wayne Stambaugh wrote: I absolutely would like to see more Eeschema unit testing. I'm going to need it when I start on the new file format code. Of course the usual caveats like don't break anything apply. I have pushed the first couple of commits for this. It seems to work: * Arch (and the tests pass) * Ubuntu 16.04 (and the tests pass) * Jenkins Linux (and the tests pass) * Jenkins Msys2 * Jenkins MSVC (and the tests pass) There are a few fairly inoffensive things under test, as a demo, and also to underpin some changes I'd like to make in future. I'd like to start to get the netlist code under test. Cheers, John ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Eeschema unit testing
John, On 5/9/19 6:49 PM, John Beard wrote: > On 24/04/2019 13:38, John Beard wrote: > >> I have here a couple of patches that enable unit tests in eeschema's >> library code. > >> this is a proposal to merge the changes attached, at the cost of >> another heavy link. However, having a working eeschema test suite will >> allow such things as eeschema's netlisting functions to get some >> tests, so I think it's a valuable tool. > > Does anyone have any better ideas for this? Or objections? > > I feel like eeschema is really crying out for some unit tests, as the > ERC stuff is 1) a highly deterministic and testable module and 2) > critical for hardware correctness. > > Cheers, > > John I absolutely would like to see more Eeschema unit testing. I'm going to need it when I start on the new file format code. Of course the usual caveats like don't break anything apply. Cheers, Wayne ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Eeschema unit testing
On 24/04/2019 13:38, John Beard wrote: I have here a couple of patches that enable unit tests in eeschema's library code. this is a proposal to merge the changes attached, at the cost of another heavy link. However, having a working eeschema test suite will allow such things as eeschema's netlisting functions to get some tests, so I think it's a valuable tool. Does anyone have any better ideas for this? Or objections? I feel like eeschema is really crying out for some unit tests, as the ERC stuff is 1) a highly deterministic and testable module and 2) critical for hardware correctness. Cheers, John ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp