tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Classes extending junit testcase
Date Tue, 01 Sep 2009 07:41:13 GMT
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
View raw message