struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Sampaleanu <>
Subject RE: [PROPOSAL] Struts Unit Test Guidelines
Date Mon, 19 Mar 2001 20:42:20 GMT
> -----Original Message-----
> From: Michael Hackett []
> Sent: March 19, 2001 11:46 AM
> To:
> Subject: RE: [PROPOSAL] Struts Unit Test Guidelines
> > From: Craig R. McClanahan <>
> > I have a mild preference for "TextXxxxx" -- I think of the
> > word test as a
> > "verb", and that is what "test xxxxx" would mean (at least in
> > English :-).
> The word "test" is just as likely to be a noun. Didn't you take any
> "tests" in school? :-) Also, class names are supposed to be nouns,
> although it seems the usual convention for JUnit is to use Test as a
> prefix. (Probably the most correct form would be XxxTester, but the
> convention is established now and will be hard to break.)

Are you sure you don't mean that the usual convention for JUnit is to use
'Test' as a suffix? If you look at the documentation on, a number
of examples use 'Test' as a suffix on the classname. As well, there are at
least a couple of automatic test finder implementations (those that don't
actually load the class and see if it derives from TestCase) that look for
Test as a suffix...

View raw message