[OpenSCAD] unit testing based on # of volumes
nop.head at gmail.com
Tue May 14 16:01:54 EDT 2019
I am not sure how useful it is for unit testing as it is a very crude
measure of correctness. The OpenSCAD automatic tests generate images or STL
files, etc and compare them with what is expected.
On Tue, 14 May 2019 at 20:46, AdrianSchlatter <ad at tambora.ch> wrote:
> That clearly means it cannot be done with today’s openscad. It can be done
> changing openscad (as you outlined) or by using third party tools (as
> outlined by Carsten). If this would be an urgent problem, I’d go for
> Carsten’s AngelCAD. It’s not urgent, therefore I’ll avoid that extra
> dependency for now.
> Am I the only one interested in that feature? Or is this a use case others
> have as well? Should the suggested command line option provide additional
> information to be more useful for unit testing?
> Regards, Adrian
> nophead wrote
> > The code that prints the volumes is part of the GUI so it doesn't happen
> > when running without a GUI. It is here:
> > https://github.com/openscad/openscad/blob/master/src/mainwin.cc#L2276
> > I don't think it would be a big job to move it to openscad.cc and call it
> > from mainwin.cc. Perhaps a command line option to enable it as most
> > people
> > probably don't want the extra noise.
> Sent from: http://forum.openscad.org/
> OpenSCAD mailing list
> Discuss at lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss