HI All Could somebody advice me how to generate JUnit reports without using ANT? Thanks Narasimha [Non-text portions of this message have been removed]...
Hi James I didn't say I am unable to use ANT. My purpose here is I would like to execute remote JUnit tests through java, any where I am not using ANT except...
... Hi Narasimha, My point being that your question read (at least to me) as a solution requiring input on the implementation, rather than a problem in context...
Looks like maven is nice alternative. Thanks Jan. From: junit@yahoogroups.com [mailto:junit@yahoogroups.com] On Behalf Of j_cumps Sent: Friday, June 01, 2007...
I have a project with tests that all pass for me locally, but then they error out on our build machine. I've tracked the problem down to the ant versions...
Hi James Thanks for your inputs and appreciate you interest in understanding the situation. Ok, what I did is, I developed some parameterized JUnit tests and...
... Chapter 5 (I believe) of the book _JUnit Recipes_ ("Working with test data") would help you here. Scott Stirling wrote about this quite deeply. My first...
... You can't. I suggest pulling the setup code one more superclass higher, making that superclass abstract, then adding one subclass that contains the setup...
... Sounds more like an ANT issue, which should be reported to the apache ant-users / ant-devs list? James [Non-text portions of this message have been...
We are using JUnit 3.8.1 and have our code in /src and /test trees as widely suggested in JUnit literature. However, we also have test code that is not using...
To answer my own question, it turns out that if you use @RunWith(Suite.class) on a class and add @BeforeClass and @AfterClass to that class, then they will run...
Hi All, my topic is not really JUnit relevant, but you are the test-freaks and I think you can help me! I have to test some methods, wich generate tables from...
Hi Patrick, ... What do you mean by "static values"? If you're generating the tables, isn't the database content created during and by the test itself? Lasse ...
Hi Lasse, the "static values" in the databse should never change before, while or after a test. In operation, the code reads values from an external database....
Eclipse is a lot smarter than Ant at dynamically discovering source code/config, which can be a good thing or bad thing. Ant has a far simpler discovery...
Stephen Smith
steve@...
Jun 4, 2007 8:10 pm
19423
Ah, bummer, that would make build script maintenance much more tricky. I'm surprised though: don't people often write helper classes for testing? If so, where...
Yup, it's an ant issue. I'll answer it here in case anyone runs into it and searches this list's archives in the future. It boils down to my project having...
Hi Heath, A lot of people write "helper classes for testing" and they put them into what you have labeled "/test" source tree. I suspect that your Ant script...
Hi Patrick, ... Yeah, this sounds like a good use for @BeforeClass and @AfterClass. Lasse -- Lasse Koskela * Author of "Test Driven" (Manning Publications,...
Greetings, I am trying to find how I can test a class which has collaboration with a singleton or static class. I have attached the source code in this email....
Hello Heath, Could you still list the contents of this classpath entry: <classpath refid="junit.classpath" /> In order for Ant's JUnit task to see all the...
Hi All, In my test cases the excepted value will be changing frequently.so that i have to in to my code and have to change the excepted value. Instead of doing...
Hi All, In my test case the excepted value will be changed frequently. so I have to change my excepted data each and every time in my code. I dont want to go...