Am 25.10.2006 um 12:48 schrieb Sergey:
> Christopher Lenz wrote:That's not a unit test, because you're also testing Trac, and are
>>> testing Web page generation. It's far easier to just test if
>>> there's a
>>> hopefully will insert this reference later.
>> That's not really "unit testing" now, is it ;-)
>> It's way easier to test this stuff at a lower level (using *actual*
> Hi Chris!
> I'm not sure what do you mean here. If I were a macro writer, I'd
relying on the assumption that Trac doesn't shuffle stuff around so
much that your test breaks without your Macro actually being broken
If you want to *unit test* your macro, you'd test it in isolation
Of course the kind of tests you mean are also useful, but they're
But even in integration tests, you'd probably call wiki_to_html() on
It's only when you move on to do functional tests where you might
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.