← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] [PATCH] simple C++ tests

 

Hi Michael,

Not sure if that is total on the same subject, just an example when I developed the 3D-viewer I implemented some C++ test cases with Asserts:
https://git.launchpad.net/kicad/tree/3d-viewer/3d_rendering/test_cases.cpp

It helped a lot in the beginning but in the end I managed to change some of the behaviours of the libraries and so the tests I developed no longer apply / pass, so I commented it.
So it however need some work to be used as proper test base for future developers and validation...

Mario Luzeiro

________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Michael Steinberg [michsteinb@xxxxxxxxx]
Sent: 05 December 2016 13:38
To: kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] [RFC] [PATCH] simple C++ tests

Thank you Wayne,

I'd be really highly interested in getting unit tests sorted out for the
C++ part. Each time I write something without a set of tests for a
project of this size I feel miserable :( Is there anything I can help
with, sort out, think about?

Michael


Follow ups

References