tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshni Basu <roshni...@gmail.com>
Subject Re: Classes extending junit testcase
Date Tue, 01 Sep 2009 08:31:29 GMT
Thanks.

I'm confused how to write unit testcases for class extending tiles tag.
Is only JUnit sufficient ?


On Tue, Sep 1, 2009 at 1:11 PM, Antonio Petrelli <antonio.petrelli@gmail.com
> wrote:

> 2009/9/1 Roshni Basu <roshniblr@gmail.com>:
> > Actually I want to write unit testcases for classes extending Tiles
> classes.
> > So will these apis help me ?
>
> The not "*Test" classes might help (they are almost stub classes), but
> most of them are specific to the tested class. The pattern is:
> NameOfTheClass
> NameOfTheClassTest
> or
> TestNameOfTheClass
>
> In fact, with JUnit 4.x you don't need to extend TestCase at all, by
> using annotations.
> I suggest you to take a look at the JUnit website.
>
> Ciao
> Antonio
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message