Hi Brian, I'm working on a gerber/drill file python script. It's for a popular PCB order, where people upload files and then get a few copies of their board a few weeks later. They currently support uploading your Eagle files, and it'll export gerbers and drills from it, and then give you a graphical preview. I'm doing the same for them for Kicad.
Because there's some logic in the wx dialogs that I'm recreating in the python scripts, I'm pretty worried about not matching Kicad. I've got a set of Xpresser scripts that starts up Kicad, opens a board file, and clicks through the various options for gerbers and drills, and then compares the output to the command line script output. Because I already compile every commit, I can set this up to check for regressions. I expect to be finished with the first cut at the gerber/drill generators by Wednesday, but Maker Faire Bay Area is coming up and I need to get some demos ready for Wayne and Layne, so it may slip a few days. Adam Wolf Wayne and Layne, LLC On Mon, Apr 29, 2013 at 7:59 AM, Brian Sidebotham <brian.sidebot...@gmail.com> wrote: > > > > On 28 April 2013 22:19, Miguel Angel Ajo <miguelan...@nbee.es> wrote: >> >> I agree that some kind of automated QA tests for the project would be >> great, Adam wolf and I >> had a conversation about that recently. >> >> I've seen many projects dramatically increasing quality because of >> regression testing. I'm not >> sure how well is wx prepared for the UI parts, but we can do it for sure >> at objects level. >> >> Even, to reduce the test development time, we could even think of writing >> the tests in python >> directly, at least at pcbnew I think it can be done. >> >> > > Hi Miguel, > > Thanks for the feedback. I must admit, I'm not too bothered about UI > testing. I expect most things will become plugins anyway, and we may not be > in control of a lot of those things. > > As a first step I think confidence in the DRC and gerber production is > really paramount. These are the things people should care about initially. > The Python API exposure should definitely be covered too though. This could > easily be achieved by a set of python test scripts. > > Best Regards, Brian. > > > > _______________________________________________ > 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 > _______________________________________________ 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