Re: unit testing practices...

peter royal <[email protected]>
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <[email protected]>
On Nov 5, 2003, at 2:30 AM, Peter Donald wrote:
> I generally do. However the unit tests that are in phoenix atm are 
> really
> really badly done ;) ie each unit test tends to test lots more than 
> what it
> saids and it can be easy to miss tes coverage if you use such broad 
> brush
> strokes.

makes sense..

> I just commited a small test case for assembler to show you the type 
> of tests
> I tend to write. If you want to see more examples check out either the 
> qdox
> or metaclass codebases for similar examples.
>
> Anyways - thats what I consider good coding practices

mucho appreciated.. I'll start by reworking the AssemblerTestCase to 
actually test the Assembler, rather than the PhoenixProfileBuilder, 
which is what it is currently doing.
-pete
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.