[PD] pdtest - pd functional testing external
Hans-Christoph Steiner
hans at at.or.at
Wed Sep 14 05:28:46 CEST 2011
Any working test suite is a good thing. Its good to have options out
there since people like working in different ways. I tried to use this
on Ubuntu/Maverick 10.10. It built find, but when I loaded the help
patch I got:
/media/share/code/lp/pdtest/pdtest.pd_linux: /media/share/code/lp/pdtest/pdtest.pd_linux: undefined symbol: lua_getfield
pdtest l s f b
... couldn't create
About the design, is this just meant to test compiled externals, or do
you see it as testing abstractions too?
.hc
On Tue, 2011-09-13 at 09:49 -0400, Louis-Philippe wrote:
> Hi pd peoples,
>
>
> I looked around the pd ecosystem and didn't find much in terms of
> testing facilities (please correct me if I'm wrong)
> and so I made an external with special functional testing purposes.
>
>
> Test suites are written in the very simple and easy to learn Lua
> programming language, a test case resemble:
>
>
> Suite("Example suite").case("Foobar").test("FOO").should:equal("BAR")
>
>
> where the pdtest external will outputs "symbol FOO" and test will pass
> if it receives back "symbol BAR"
>
>
> documentation and source code can be found:
> https://github.com/lp/pdtest#readme
>
>
> I would appreciate feedback on the usability of its design. It work
> perfect for the external I need to test but I may not grasp what the
> collective need for testing is, if one exist at all in the pd world
> anyway.
>
>
> regards,
>
>
> Louis-Philippe
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list