[kepler-dev] [Fwd: FW: How to run Junit test cases with new Kepler build]

Daniel Crawl crawl at sdsc.edu
Tue Feb 3 13:28:05 PST 2009


Hi kepler-dev,

How do we run JUnit tests with the new build system?

I'm forwarding an email from Chandrika, who is getting an error
running 'ant test'.

By the way, can someone please look into why she cannot post to
kepler-dev?

Thanks,

  --dan

-----Original Message-----
From: kepler-dev-bounces at kepler-project.org
[mailto:kepler-dev-bounces at kepler-project.org] On Behalf Of
kepler-dev-owner at kepler-project.org
Sent: Tuesday, February 03, 2009 11:41 AM
To: Sivaramakrishnan, Chandrika
Subject: How to run Junit test cases with new Kepler build

This list only accepts posts from subscribed memebers. To post to this
list you must subscribe. We are sorry for this inconvenience.



Subject:
How to run Junit test cases with new Kepler build
From:
"Sivaramakrishnan, Chandrika" <chandrika at pnl.gov>
Date:
Tue, 3 Feb 2009 11:40:52 -0800

To:
<kepler-dev at kepler-project.org>


Hi, 

How do I run my Junit test cases/test suites with the new Kepler build system. With the old version, I used the ant target 'runonetest' and invoked a single test suite. I don't see a similar ant target with the new build script. I see a 'test' target but I am not sure how to use it. I tried to run it just to see what is the default directory its pointing to/what test cases it ran, but I get the error '...build.xml:36: The <classpath> for <junit> must include junit.jar if not in Ant's own classpath'. I do see junit.jar in the classpath that gets printed just above this error. Am I missing some other configuration? Could some one point me in the right direction

Thanks 
Chandrika 




More information about the Kepler-dev mailing list