No David, I have not looked at the Parameterized test runner for this particular problem, although I have used it on other projects. I shall have a look at it...
21217
[胡凯] khu@...
zeeho_81
Dec 18, 2008 10:26 am
All : I have developed a junit extension call Prerequisite, which is designed to handle the problem that you only want to run some tests when some...
21218
Nat Pryce
nat_pryce
Dec 18, 2008 1:48 pm
Hi. What is the difference between this and JUnit's existing assumption mechanism? --Nat ... -- http://www.natpryce.com...
21219
Johannes Link
jlinkyh
Dec 18, 2008 2:01 pm
... At least it's supposed to, so I'm happy someone can confirm it :-) JUnit 4.5 explicitly kept a constructor that is not needed elsewhere for backwards...
21220
rajesh gotapu
rajesh_g1231
Dec 19, 2008 6:58 am
Hi. can you please send an example on this I would be very thankful to you. thanks, Rajesh Gottapu. ________________________________ From: Nat Pryce...
21221
David Saff
dsaff
Dec 19, 2008 2:21 pm
http://www.letmegooglethatforyou.com/?q=junit+assumptions David Saf ... [Non-text portions of this message have been removed]...
21222
idan72
ishai@...
Dec 21, 2008 11:00 am
Hi, Can junit run tests writing in IBM RFT ? Can it combine together Thanks -- View this message in context: http://www.nabble.com/RFT-tp21073707p21073707.html...
21223
Lothar Kimmeringer
kimmerin_job
Dec 23, 2008 7:03 pm
Hello, (been around, sorry for the late response) ... at least you can browse the source and download the jars. If somebody wants to contribute it would still...
21224
vipinkedia
Dec 28, 2008 5:17 am
Hi I have a jar file containing the TestSuite class and a main class RunTest calling TestSuite for executing all my Junit test cases. I call it in either of...
21225
David Saff
dsaff
Dec 28, 2008 7:50 pm
1) junit.jar should be on your CLASSPATH, not your PATH 2) java org.junit.runner.JUnitCore com.me.MyTestSuite should work without an additional main. Good...
21226
Steve Freeman
smg_freeman
Dec 29, 2008 3:49 pm
Perhaps this is another opportunity to prod David. I've been saying for a while that I'd like to be able to compose runners, it shouldn't be that hard. S. ... ...
21227
kentb
kentlbeck
Dec 29, 2008 4:09 pm
Steve, Sounds interesting. What's your first test case? Cheers, Kent Beck Three Rivers Institute _____ From: junit@yahoogroups.com...
21228
abdelrahman_mahmoud2004
abdelrahman_...
Dec 29, 2008 11:55 pm
hii all i have to study Junit & HtmlUnit within 15 days & i need a good toturial for these topics Please.... Thanks alot...
21229
Simon Chappell
spchappell
Dec 30, 2008 12:00 am
On Mon, Dec 29, 2008 at 7:50 AM, abdelrahman_mahmoud2004 ... Google shows 526,000 results for "junit tutorial" and 4,070 results for "htmlunit tutorial". Start...
21230
yosefshariat
Dec 30, 2008 9:09 am
Hi I use "@Test(expected = AnyClassException.class") and one "assertTrue(false)" together for example following code: @Test(expected =...
21231
R. Jensen
richardhjensen
Dec 30, 2008 3:42 pm
... The 'expected39; construct isn't to tell JUnit the exception MAY be thrown, but that the code being tested MUST throw the expected exception. I added a few...
21232
kentb
kentlbeck
Dec 30, 2008 3:59 pm
Yosef, The behavior you describe is what I would expect to see. In the test, you declared that an ArrayIndexOutOfBounds exception would be thrown. It was not ...
21233
Ilja Preuß
ipreussde
Dec 30, 2008 4:18 pm
Kent, I agree that it is expected behavior, technically. I think you could also make an argument that it would be better if the behavior was different. In my...
21234
nat.pryce@...
nat_pryce
Dec 30, 2008 6:14 pm
I agree. The "expected" construct feels like a form of assertion that Junit performs after the body of the test has completed. It is confusing that it does not...
21235
Charlie Poole
cpoole98370
Dec 30, 2008 7:29 pm
Hi Ilja, ... Coincidentally, I've been dealing with the same philosophical issue in NUnit because I'm experimenting with a non-exception approach to reporting...
21236
kentb
kentlbeck
Dec 30, 2008 9:27 pm
Point taken (and props to Yosef for bringing this up). Restating, the fact that assertion failures are implemented as thrown exceptions should be invisible to...
21237
nat.pryce@...
nat_pryce
Dec 30, 2008 11:17 pm
Regarding comparability with the assert keyword, I think JUnit is in an odd situation with this already. A failing assertion in a test should be, and is,...
21238
tuomaskarkkainenri
tuomaskarkka...
Dec 31, 2008 12:50 am
I participate in JDave (http://jdave.org). A BDD framework for Java that takes advantage of JUnit for example for Eclipse integration. We have tests in...
21239
朱国良
zhustudy@...
Dec 31, 2008 12:50 am
-- 在2008-12-16"David Saff" <david@...> 写道: I think there is an existing bug. I take it that maven does the hierarchical suite construction for...
21240
Joseph Shraibman
tupari
Dec 31, 2008 12:50 am
It's a bit tedious to have to create a separate <bunzip2> element in my build xml for each compressed file I have. Why can't we use filesets here?...
21241
David Saff
dsaff
Dec 31, 2008 3:28 am
Did you mean to post to an ant list? David Saff ... [Non-text portions of this message have been removed]...
21242
David Saff
dsaff
Dec 31, 2008 3:34 am
JDave is cool. I'm not 100% clear what you want to do, and I don't see the patch. Could you perhaps include a small test case as inline text? David Saff On...
21243
David Saff
dsaff
Dec 31, 2008 3:43 am
Ilja, Thanks for thinking this through. ... I don't know that I can get behind this. This test is always going to pass: @Test public void...