[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] [commit?] many patterns storeArgs

*testClass is not in the helpfile at all.

I cleaned up the help file a bit.



(searches for TestClass and runs it)

though UnitTest.testClass(Patch) works fine

yes, every method that starts test_ is evaluated

On Sun, Feb 24, 2008 at 12:30 AM, Julian Rohrhuber <rohrhuber@xxxxxxxxxxxxxx> wrote:
writing automatic tests is really a good thing. If I only could
figure out how it works. Following the helpfile does not give a valid
test, somehow. I guess it is unclear to me what the *testClass method
is supposed to do: I thought every method that starts with test_ is

>lately since I've been trying to get a new sc thing to work and
>encountering so many bugs I've developed a kind of rhythm.  every
>bug I do a unit test and then expand it to find any larger case
>where it might have happened.  and i ask myself how could I have
>detected and fixed this before it reached the annoyance stage.  (I
>had a pattern fail to save)