atom feed51 messages in at.iem.pd-devRe: [PD-dev] unit tests!
FromSent OnAttachments
Mathieu BouchardDec 29, 2005 12:14 pm 
Tim BlechmannDec 29, 2005 1:48 pm 
Mathieu BouchardDec 29, 2005 2:15 pm 
Mathieu BouchardDec 29, 2005 2:32 pm 
Mathieu BouchardDec 29, 2005 2:47 pm 
Tim BlechmannDec 29, 2005 3:31 pm 
ydeg...@free.frDec 29, 2005 5:46 pm 
cDec 29, 2005 6:42 pm 
Mathieu BouchardDec 29, 2005 6:55 pm 
Marc LavalléeDec 29, 2005 8:48 pm 
Hans-Christoph SteinerDec 29, 2005 10:42 pm 
Mathieu BouchardDec 30, 2005 6:39 am 
Marc LavalléeDec 30, 2005 9:49 am 
Yves DegoyonDec 30, 2005 12:45 pm 
Yves DegoyonDec 30, 2005 12:48 pm 
Hans-Christoph SteinerDec 30, 2005 2:12 pm 
Yves DegoyonDec 30, 2005 2:18 pm 
Mathieu BouchardDec 30, 2005 3:20 pm 
Christian KlippelDec 30, 2005 4:28 pm 
Mathieu BouchardDec 30, 2005 7:26 pm 
Kyle KlipowiczDec 30, 2005 7:36 pm 
David Plans CasalDec 31, 2005 4:08 am 
ydeg...@free.frJan 1, 2006 9:48 am 
ydeg...@free.frJan 1, 2006 9:52 am 
ydeg...@free.frJan 1, 2006 10:46 am 
Christian KlippelJan 1, 2006 10:57 am 
ydeg...@free.frJan 1, 2006 11:09 am 
Christian KlippelJan 1, 2006 11:41 am 
Hans-Christoph SteinerJan 1, 2006 12:22 pm 
Tim BlechmannJan 1, 2006 12:32 pm 
ydeg...@free.frJan 1, 2006 1:34 pm 
ydeg...@free.frJan 1, 2006 1:42 pm 
Christian KlippelJan 1, 2006 1:50 pm 
David Plans CasalJan 2, 2006 3:50 am 
ydeg...@free.frJan 2, 2006 1:07 pm 
Mathieu BouchardJan 2, 2006 2:30 pm 
Marc LavalléeJan 2, 2006 5:32 pm 
Hans-Christoph SteinerJan 2, 2006 11:52 pm 
Hans-Christoph SteinerJan 3, 2006 12:13 am 
Mathieu BouchardJan 3, 2006 7:44 am 
cJan 3, 2006 9:07 am 
Marc LavalléeJan 3, 2006 9:41 am 
Hans-Christoph SteinerJan 3, 2006 5:35 pm 
Marc LavalléeJan 4, 2006 7:10 am 
B. BogartJan 4, 2006 9:18 am 
Hans-Christoph SteinerJan 4, 2006 9:24 am 
Marc LavalléeJan 4, 2006 11:00 am 
Chris McCormickJan 5, 2006 3:26 pm 
Hans-Christoph SteinerJan 5, 2006 7:29 pm 
Hans-Christoph SteinerJan 5, 2006 7:35 pm 
Marc LavalléeJan 6, 2006 6:35 am 
Subject:Re: [PD-dev] unit tests!
From:Tim Blechmann (TimB@gmx.net)
Date:Dec 29, 2005 3:31:01 pm
List:at.iem.pd-dev

* failure: a test object reports a problem through outlet 0.

how do you want it to be implemented? one object per patch, per canvas (like switch~) or globally?

I don't understand your question, but then maybe you misread something or that I miswrote something.

Test objects only test what they can.

ah, sorry, i misunderstood your mail ...

i'd also suggest the addition of an assert object, that's similar to my external on the cvs...

ok, I think that given what yours do, it should be called [error]. Also it should take an optional argument which would either be a float (e.g. the $0 of the enclosing abstraction) or a pointer. It would have one inlet, no outlet, and support the following messages:

i intended assert to be an object without overhead... but i also like your generalisation. the only problem i see is, that i'd like to switch off the runtime overhead in performance mode and check the asserts only in debug mode, which would be either a canvas property or a global property ... (unfortunately this distinction doesn't really exist in pd)

tim

You can play a shoestring if you're sincere John Coltrane