Hi everybody, I have a question concerning HttpUnit. I have to write my Diploma and to use HttpUnit in it. So my question: Are there any books or workouts ...
12297
Angela Day
akcday
Nov 12, 2004 3:03 pm
I am having a very similar problem. Did you ever arrive at a solution? Thanks, Angela Day ... are ... or ... Eclipse_, ... using ... the ... directories, ... ...
12296
Angela Day
akcday
Nov 12, 2004 3:03 pm
Guys, Help! Compiling and running this app is not a problem. The app has been in production for quite some time. I am getting the following error when I try...
12295
J. B. Rainsberger
nails762
Nov 11, 2004 11:39 pm
... What are you worried might break? :) Especially if you're new to programmer testing, don't be afraid to write too many tests, because you're learning how...
12294
Thomas L Roche
tlroche
Nov 11, 2004 10:02 pm
javadmdar Thu, 11 Nov 2004 15:31:44 -0000 ... I believe you mean "can JUnit do GUI testing?" If so, yes: see http://groups.yahoo.com/group/java-gui-testing/...
12293
javadmdar
Nov 11, 2004 3:48 pm
Does JUnit do automated testing just like SilkTest and Mercury for the GUI or is just for testing chunks of code only.......
12292
deruitem
Nov 11, 2004 3:48 pm
I am a new user to JUnit, I am looking for some help creating a test. I want to run some tests on a filewriter. My code interates through a DTO and writes each...
12291
Carfield Yim
c8133594
Nov 10, 2004 4:05 pm
I used to extends testcase to run the preconfig my testcase, like create the connection, clear testing DB, setup basic test data, etc. After that, some online...
12290
akash mulye
akash_1410
Nov 10, 2004 4:05 pm
Hi, I m supposed to evaluate the JCOVERAGE.. I m able to compile classes instrument them as well as compile the test cases .. but during the execution of the...
12289
albamatiit
Nov 9, 2004 11:11 pm
Thank you! Alberto...
12288
J. B. Rainsberger
nails762
Nov 9, 2004 9:10 pm
... Two options: 1. Assert the logical opposite -- instead of assert x, use assert !x. 2. Use the standard pattern for expecting an exception for the error ...
12287
Ilja Preuss
ipreussde
Nov 9, 2004 5:28 pm
... Just test that a java.lang.AssertionError got thrown, just as you would test any other Exception. Cheers, Ilja...
12286
albamatiit
Nov 9, 2004 5:18 pm
I have a class with an assert keyword. Now, when an assert fails, the test is marked as "not passed". There is a manner to test that the assert fail (I mean in...
12285
albamatiit
Nov 9, 2004 5:18 pm
That's the solution! Thank you. Bye Alberto...
12284
Mingzhe Huang
archerzz101
Nov 9, 2004 5:17 pm
You should enable assert keyword in java compiler as well as in JRE. Java Compiler: In window->preference->Java->Compiler->Compliance and Classfiles, set all...
12283
Tom Pimienta
stpimienta@...
Nov 9, 2004 5:15 pm
You have the right idea: Just put the .jar file in the class path of your test runnning task. <target name="runtests" depends="compiletests"...
12282
Benedict Heal
benedictheal
Nov 9, 2004 1:33 am
You must enable assertions. Under window/preferences/java/installed JREs, edit the JRE, and set the vmargs to -ea Benedict ... Outgoing mail is certified Virus...
12281
Filip S. Adamsen
fadamsen
Nov 9, 2004 1:32 am
Shouldn't you be using one of the assert* methods instead of the Java keyword, or do you have a reason not to? -Filip ... [Non-text portions of this message...
12280
Michael W. Taft
michael_w_taft
Nov 9, 2004 1:32 am
Hello - I'm new to this group and just as new to using JUnit. While I am able to create and execute simple test cases, what I am really looking to do is to...
12279
J. B. Rainsberger
nails762
Nov 9, 2004 12:15 am
... Have you enabled assertions in the JRE that Eclipse is using? (By default they are disabled.) If you don't, then assertion failures will do nothing,...
12278
J. B. Rainsberger
nails762
Nov 9, 2004 12:14 am
... When I tried faking the web container, I found that the JSP processor pulls in such crazy stuff -- like Ant! -- that the complexity of the test environment...
12277
J. B. Rainsberger
nails762
Nov 8, 2004 8:07 pm
... Thanks, Yagiz! I hope you don't mind that I'm going to this as a review on my web site. Take care. -- J. B. (Joe) Rainsberger Diaspar Software Services ...
12276
timotius_pamungkas
timotius_pam...
Nov 8, 2004 3:39 pm
Well, thanks for your answers. It really helps......
12275
albamatiit
Nov 8, 2004 3:37 pm
I use JUnit in Eclipse 3.0. When an assert (java keyword) fail, the test go on instead of terminate with an error. How can I detect an assert failure in...
12274
Ilja Preuss
ipreussde
Nov 8, 2004 11:36 am
... Well, most importantly, make the JSPs contains as few logic as possible. Put as much of the logic as possible into POJOs and/or taglibs, and test those the...
12273
Yagiz Erkan
yagiz_erkan
Nov 8, 2004 10:17 am
I got my copy on Friday and I have to say that "JUnit Recipes" is an awesome book! (I even stopped reading Dan Brown's Da Vinci Code for a while :-). I love ...
12272
Sreenivasa Majji
skmajji
Nov 7, 2004 4:03 am
Thank you Larry. I will explore these two options. _Sreenivasa ... __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. ...
12271
Henry Chan
puiyipchan
Nov 7, 2004 4:03 am
Both function do the something. The only different is that JDK1.4 assertion will only be turn on with the -ea flag when running JVM. Otherwise, it is...
12270
sariv neni
sariv_neni
Nov 7, 2004 4:03 am
i doenloaded junit s/w,i run the junit by giving java junit.swingui.TestRunner junit.samples.AllTests junit window is opened after that when i browse to excute...
12269
Alistair Israel
aisrael
Nov 6, 2004 6:54 am
On Fri, 05 Nov 2004 16:27:19 -0500, J. B. Rainsberger ... Agreed. ... I realized that, too. I also realized it's because I tend to make further checks within...