Hi Toby,

jbosstest is a bit of a hodge-podge.  Let me try to
sort it out a bit.

The the core of this CVS module is the CTS stuff.  CTS
is the conformity test suite.  I haven't done much
documentation for this yet, but I will... I promise!

CTS is based heavily on JUnit which is a testing
framework.  You asked for a pattern and in the context
of CTS the JUnit framework is it.

As far as the other test in jbosstest, they are the
contributions of the contributors to JBOSS.  They are
adhoc and do not necessarily conform to an particular
standard, but more the style of an individual
developer.  They in turn test individual pieces of
code or functionality that were coded by a
developer/contributor, many having been developed
prior to adopting JUnit as a testing framework.

Does this help?  I can provide further clarification
if needed.

cheers,
peter



--- Toby Allsopp <[EMAIL PROTECTED]> wrote:
> Hi, all.
> 
> I want to write some tests. This is unusual for me,
> but for some reason 
> I do.
> 
> However, I can't really make any sense of jbosstest.
> Is there some 
> pattern? How do I figure out where the test should
> go? Is there some 
> documentation telling me what each group of tests is
> actually testing?
> 
> What I want to test is the enlistment (is that a
> word) of resources that 
> are held onto by a bean across different
> transactions. I know that this 
> is not yet implemented, but I want to try this whole
> "write the test 
> first" thing that XP talks about.
> 
> Does anyone have any insight into where might be
> appropriate for such a 
> test? cts? testbean?
> 
> Thanks,
> 
> Toby.
> 
> P.S. If you've written some of the stuff in
> jbosstest that's confusing 
> me, please don't think I'm flaming you - anything at
> all is great!
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

Reply via email to