[mevenide-user] Advice on test design

"andy law \(RI\)" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <B9D6BA5A5205AD4792AFD52A65CE061221C2AE@ebre2ksrv1.ebrc.bbsrc.ac.uk>
All,

I *know* this is mostly off-topic for this list (and I apologise in
advance), but I figure this is still a good place to start.

I am running Netbeans 5.5 with mevenide trying to decide how I attack
the following problem:

Let's assume that I'm writing some code that uses a properties file to
define some parameter or other. In the absence of the properties file,
the code should use a sensible default value. So, I have the following
tests to run

1) No properties file - default behaviour
2) Properties file with nonsense value - default behaviour with warning
3) Properties file with sensible value - use supplied value

How do I run tests 1 *and* 2/3 in the same project given that the test
properties file is either supplied or not (as far as I can tell) in
src/test/resources.

Later,

Andy

-------------
Yada, yada, yada...

Roslin Institute is a company limited by guarantee, registered in
Scotland (registered number SC157100) and a Scottish Charity (registered
number SC023592). Our registered office is at Roslin, Midlothian, EH25
9PS. VAT registration number 847380013.

The information contained in this e-mail (including any attachments) is
confidential and is intended for the use of the addressee only.   The
opinions expressed within this e-mail (including any attachments) are
the opinions of the sender and do not necessarily constitute those of
Roslin Institute (Edinburgh) ("the Institute") unless specifically
stated by a sender who is duly authorised to do so on behalf of the
Institute.
 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
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.