From: Dan F. <dfr...@cs...> - 2004-05-28 19:25:32
|
Whoops, I meant to sent this to phpwiki-talk. Dan -------- Original Message -------- Subject: More unit tests (WAS: Re: Sorting on any PageList column (WAS: Re: [Phpwiki-talk] Re: Development on phpwiki)) Date: Fri, 28 May 2004 14:24:49 -0500 From: Dan Frankowski <dfr...@cs...> To: Reini Urban <ru...@x-...> References: <409...@cs...> <40A...@x-...> <40A...@cs...> <40A...@x-...> <40B...@cs...> <40B...@x-...> Reini Urban wrote: > Very good! Finally I don't have to do all the work alone. > I'll add this tomorrow. Cool! Glad you like it. By the way, I attach more unit tests in a tarball. These are simple, simple things, but those can still help. For example, we changed a function name and accidentally broke AllPages, AllUsers, OrphanedPages. (Then we changed it back, of course.) Thus, I wrote these simple tests that would have caught that. Unfortunately, no real good unit tests for PageList yet, but I am going to write at least a couple to test sorting. Dan |