It would make more sense to me if you post the code. I can understand code more than people's talk or language, i guess i am not much of people person :) . ...
20305
Anirudh Vyas
anirudhvyas010
Feb 8, 2008 12:47 pm
Hey chandima, Sorry i wasnt able to answer any sooner, was busy with work ... So basically i have an abstract class here, ( SomeClass ) and another class that...
20306
Rasmus Lock Larsen
rasmus77
Feb 8, 2008 2:06 pm
Hi. I would like to dump the state of the system when at test fails. So I need to know when a test fails before cleaning up the system. E.g. (java): protected...
20307
Srinivasan TK
tksri2000
Feb 9, 2008 8:47 pm
Replacing junit.jar with JUnit version 3.8 doesnt seem to help. I am using ant from a standard installation directory on a box. I know we need to remove/add to...
20308
J. B. Rainsberger
nails762
Feb 11, 2008 7:35 pm
... You have already received some answers, but here is a summary of the technique I use. I like to check that the event source is generating the right events ...
20309
abhishek_hnbgu
Feb 12, 2008 12:30 pm
I am facing some configuration issues related to JUnit.jar.Ca anyone of please help me out....
20310
Simon Chappell
spchappell
Feb 12, 2008 12:37 pm
... I think that it's safe to say that we need more information before we can help you with this. What are you trying to use JUnit for? Which version are you...
20311
bala_rajamani
Feb 12, 2008 4:58 pm
Currently generating junit reports (*.txt and *.xml files) using maven- surefire-plugin. Wondering is there way to display these reports in HTML format? Thanks...
20312
Carfield Yim
c8133594
Feb 12, 2008 6:47 pm
I have same question also, somebody tell me that putting <reportFormat>HTML</reportFormat> should work. However that doesn't work for me.... ... [Non-text...
20313
Frédéric Camblor
f.camblor
Feb 12, 2008 7:51 pm
You can use the <junitreport> ant task :) ... -- Frédéric Camblor [Non-text portions of this message have been removed]...
20314
James Abley
taboozizi
Feb 13, 2008 11:20 am
... This might help? http://maven.apache.org/plugins/maven-surefire-report-plugin/ I've not used it myself. Alternatively, find an apache project that uses ...
20315
bala_rajamani
Feb 16, 2008 12:07 am
Hello, Currenlty Junit prints all details into the log and the log file grows to fast and big. So wondering is there a way to control [suppressing] the details...
20316
bala_rajamani
Feb 16, 2008 12:07 am
Thanks, I am able to create the HTML reports using Maven report plugin [maven-surefire-report-plugin]. ... 40yahoo.com> ... using maven- ... reports in ... ...
20317
Srinivas Visvanathan
srinivas1729
Feb 16, 2008 8:51 pm
Hello junit users I started using junit in my projects recently. Twice in two days, I have found a use for something which junit doesn't seem to provide. I ...
20318
Robert Wenner
robertwenner
Feb 16, 2008 9:43 pm
... I think you're doing it the right way, and it works for me. Maybe try running your tests on the shell as below? If that works, Eclipse may be the culprit. ...
20319
Frédéric Camblor
f.camblor
Feb 17, 2008 7:25 pm
Maybe you could use some IoC framework such as spring, in order to inject your "interface implementation" to your test case ? Another idea, you could design a...
20320
Srinivas Visvanathan
srinivas1729
Feb 18, 2008 9:31 am
Its working fine for me now, in eclipse. I'm not sure what I was doing wrong initially. Thanks for your suggestions and interest. Srinivas ... [Non-text...
20321
Ilja Preuß
ipreussde
Feb 19, 2008 8:44 am
Any news on this? The runner architecture sounds interesting, not only for this feature, but also for other ideas I have in mind. Or, provided that this isn't...
20322
Saju Madhavan
hsaju
Feb 20, 2008 4:50 am
Hello Has any one come across an issue when trying to run junit4 tests using ant 1.6. Any help would be greally appreciated. thanks Honey Alex ...
20323
edu_kumar
Feb 20, 2008 5:06 pm
Hi all, I've been unit testing my data access layer with Junit and I ran into following case.. I was able to successfully mock the db connection for checking...
20324
Nat Pryce
nat_pryce
Feb 20, 2008 9:02 pm
... It's the responsibility of the code that creates the object to pass it the other objects that it depends on. So, the unit test could pass mock...
20325
edu_kumar
Feb 21, 2008 12:17 pm
Hey Nat, Thanks for your clarifications, but I have couple of questions though.. 1) The end-to-end testing sounds more like functional testing to me , am I...
20326
Carfield Yim
c8133594
Feb 21, 2008 3:28 pm
Pick an IoC framework and switch mock and real anytime you wish :-)...
20327
Saju Madhavan
honeyandsaju
Feb 22, 2008 2:12 am
I'm wondering if any one is using junit4 with cactus. What I heard so far is there is no support for Junit4 in cactus. But there should be some work around. If...
20328
Saju Madhavan
hsaju
Feb 22, 2008 2:12 am
Has any one writing cactus tests in the new junit 4 format (using annotations). Any insight in this directions would be greatly appreciated. Saju....
20329
J. B. Rainsberger
nails762
Feb 22, 2008 1:04 pm
... The two are similar enough to call them the same for now. I have found through years of practice that end-to-end tests are ineffective at finding...
20330
Nat Pryce
nat_pryce
Feb 23, 2008 1:43 pm
... Yes. An end-to-end test is a test that tests the system from outside. "Edge-to-edge" might be a better term because most systems don't have "front" and...
20331
edu_kumar
Feb 24, 2008 1:18 am
Thank you all for your responses, I think your suggestions, pretty much answered all my questions.. ... writing...
20332
Robert Wenner
robertwenner
Feb 24, 2008 7:25 pm
... Interesting. I thought end to end tests would be more likely to find integration defects, though I agree they may not be the most efficient way. ... Did...
20333
craig.noah2008
Feb 25, 2008 7:40 pm
I've written a collection of JUnit4 tests that run fine within Eclipse. I'm working on adding an Ant target to our build.xml file to run the entire collection...