What benefit does org.junit.Assert provide, as opposed to junit.framework.Assert? Unless some new assertions are available - Assert#assertException or...
14279
Stephen Smith
steve@...
Aug 1, 2005 6:05 pm
While I agree that the below definition of "assertion" can be applied to both JDK 1.4+ assertions and JUnit assertions, using classes that are solely JDK 1.4+...
14280
vpham2000
Aug 1, 2005 6:06 pm
Thanks to all who answered my question. My batchtest with **/*Test.class failed because i have put all my classes in sipenum package which **/*Test.class could...
14281
cogphil
Aug 1, 2005 6:06 pm
Followed the approach mentioned in http://www.javaworld.com/javaworld/jw-05-2000/jw-0526-testinfect- p2.html. Unable to access the Junit test cases that are...
14282
an thanh
ancntt2002
Aug 1, 2005 6:06 pm
hi, I'm an , i'm from VietNam, i am studying about Junit but now i have not got any book about it, so who has some books then give to me to my email. I want to...
14283
J. B. Rainsberger
nails762
Aug 1, 2005 10:30 pm
... Google "smalltalk testing patterns" for the article in which Kent describes SUnit. It came first. -- J. B. (Joe) Rainsberger Diaspar Software Services ...
14284
Calvin Austin
calvinandblogs
Aug 1, 2005 11:20 pm
Wouldn't it be nice if Junit could do all the hard work and create the tests for you? We've started an open source project to explore that idea. Obviously it...
14285
James Abley
taboozizi
Aug 2, 2005 7:44 am
... This seems a little off-topic. Try reading the manual [1] - the core types haven't changed too much over the last year or so, or posting to the ant-users...
14286
Chris Dollin
anover_alias
Aug 2, 2005 8:07 am
... I don't see how it could - when I start writing tests, there is no code for anything to create tests /from/. What am I missing? -- Chris "electric...
14287
Bradley, Todd
todd404
Aug 2, 2005 2:46 pm
Not everyone uses JUnit for TDD, I suppose. Nowadays that I think in TDD, I can barely imagine a tool to write my unit tests for me, any more than I can...
14288
Bradley, Todd
todd404
Aug 2, 2005 3:27 pm
Oops, bad attribution. Calvin was the one proposing a tool to write my unit tests for me. Todd. ________________________________ From: junit@yahoogroups.com...
14289
N V K VaraPrasada Rao R
varaprasad_1261
Aug 2, 2005 7:12 pm
Hi After executing the run.sh iam getting as 0 tests Ok and iam getting as "class not found -- loading dummy " in the TestGenerated.log and also plz guide me...
14290
Stephen Smith
steve@...
Aug 2, 2005 7:12 pm
Isn't this what Parasoft's JTest does? -- Stephen Smith, MEng (Wales). http://www.stephen-smith.co.uk/...
14291
Calvin Austin
calvinandblogs
Aug 2, 2005 7:13 pm
There are two roles for automatic testgen, one is that you only stubbed out your api, I admit, not true TDD by a long way. The other use is that your...
14292
Russell Gold
russgold
Aug 2, 2005 9:17 pm
... What do you mean by "unit test page"?...
14293
Kent Beck
kentlbeck
Aug 3, 2005 6:50 am
The new Assert class throws the same exception as Java's assert keyword. Another reason for having the new Assert class is that it lives in the same package...
14294
swathi swathi
swathi_susarapu
Aug 3, 2005 12:06 pm
HEY ANYBODY PLEASE CLEAR MY DOUBT I HAVE JOINED IN A COMPANY FOR INTERN AND THEY SAID ME TO WORK ON JUNIT MY DOUBT IS THAT DOES WORKING ON JUNIT COME UNDER ...
14295
Prasad
varaprasad_1261
Aug 3, 2005 12:06 pm
hi everybody, Iam new to JUnit.I have to test a static private function. So could you please help me out in writing test cases for it. Thanks and Regards Vara...
14296
Elliotte Rusty Harold
elharo@...
Aug 3, 2005 1:02 pm
... No you don't. You either need to test the public methods that call the private static function or you need to delete the function if nothing in the public...
14297
Prasad
varaprasad_1261
Aug 3, 2005 2:17 pm
Hi According to my knowledge, Junit comes under unit testing. U can find the required stuff at the junit site itself. U can find the documentation required to...
14298
saravanan.thirugnanam...
stsaravanan1983
Aug 3, 2005 2:17 pm
HI, JUNIT is mainly meant for Unit Testing java classes.IT has to be done by all the testers to make surte that there code works as he expected.So we can not...
14299
oswalvivek
Aug 3, 2005 2:19 pm
Agreed. However, If you still need this :) , you could look up junit faqs. They've demonstrated this technique with a PrivilegedAccessorTest, the target class...
14300
Gerry Smith
gerrysmusa
Aug 3, 2005 2:20 pm
Does anyone know how to get the Message variable in the Assert to print even if an error does not occur? I would like to put a descriptive message in each...
14301
smatalonga
Aug 3, 2005 2:20 pm
Hi, I've been going over this thread but could not find the answer for my problem. I am working wiht a 3rd party api. Where I have to extend one of their ...
14302
dominodv
Aug 3, 2005 2:21 pm
Hello All, I am attempting to write a simple testscripts that connects to a sample application within BEA Weblogic "Avitek Medical". I am running into problems...
14303
Bob Koss
koss@...
Aug 3, 2005 2:26 pm
... Can you inherit from Message? class TestableMessage extends Message { public TestableMessage() { super(null); } } ... Robert S. Koss, Ph.D. Senior...
14304
Bradley, Todd
todd404
Aug 3, 2005 3:52 pm
You can't easily do this (in JUnit 3). The assert* methods don't support it and there's no easy way to modify their behavior, as they're static methods....
14305
Calvin Austin
calvinandblogs
Aug 3, 2005 4:38 pm
From the documentation I've read both Parasoft and Agitar have professional tools that have proved many of these techniques, both are very good but very...
14306
smatalonga
Aug 3, 2005 4:39 pm
Dear Robert, Thank you for your quick answer. To inherit was my first guess also, but since the Message class has no default constructor the compiler does not...
14307
dans
dans_19
Aug 3, 2005 7:04 pm
Hi Swati , I understand your concern but its like junits are the work thats primarily done by a developer of a class I mean who understands its functionality ....