← Back to team overview

kicad-developers team mailing list archive

Re: 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


Follow ups

References