Nice to hear it's not all our fault ;-) but it sounds like we need to improve either the doc or the download. Depending on your circumstances, given that the...
11332
Neil Swingler
neil_swingler
Jul 1, 2004 9:17 pm
Steve, it should be possible to get a mock class to pretend to be another final class using a special classloader. See my submission in the files section. -...
11333
Steve Freeman
smg_freeman
Jul 1, 2004 10:22 pm
Thanks. I'm actually wondering whether it's a good idea to mock a final class. It seems to be missing the point a little, since that's the sort of thing I'd...
11334
vbalaut
Jul 2, 2004 3:00 am
Hi I am Virendra Balaut new to this group I need some help on httpunit any of u have some tutorial study material or links related to this (mainly testing...
11335
vbalaut
Jul 2, 2004 3:02 am
Hi I am Virendra Balaut new to this group I need some help on httpunit any of u have some tutorial study material or links related to this (mainly testing...
11336
Saket Arora
luvdecentgal...
Jul 2, 2004 3:04 am
Hi junit members, Can u tell me how to test multiple parameters(taken as input from XML file) thru asserts so that if one fails, it should prompt the error and...
11337
Elaine Prata
nanyprata
Jul 2, 2004 3:05 am
I would like a decorator in my tests for run the methods setUp and tearDown just one time for all methods in the test case. I know that exist a TestDecorator...
11338
J. B. Rainsberger
nails762
Jul 2, 2004 3:20 am
... Hi, David. I just looked at the Student Demo, and I would like to commend you and your team on a very neat project. You have done free of charge part of...
11339
J. B. Rainsberger
nails762
Jul 2, 2004 3:20 am
... Which freely-available tutorials on the web have you read so far? -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
11340
J. B. Rainsberger
nails762
Jul 2, 2004 3:21 am
... Apparently some extension of JUnit allows this. I can't remember the name, because I don't /want/ multiple assertion failures per test. If you search the...
11341
J. B. Rainsberger
nails762
Jul 2, 2004 3:24 am
... Use TestSetup class MyTestCase { public static Test suite() { TestSuite suite = new TestSuite(MyTestCase.class); TestSetup oneTimeSetup = new...
11342
Daniel Le Berre
leberre@...
Jul 2, 2004 9:36 am
Hi David, Would it be possible to download a jar archive instead of an exe file? I would be happy to try JAM*Tester under Linux. Daniel ... [Non-text portions...
11343
albsavoia
Jul 2, 2004 11:18 pm
I have just come back from a great JavaOne. I was concerned that my presentation on unit testing "Beyond JUnit - The Future of Developer Testing for Java"...
11344
t7p76n
Jul 2, 2004 11:19 pm
I encountered a problem when I implemented two TestCase's that both used a certain native method from a JNI-based class. Each TestCase passes when run by...
11345
J. B. Rainsberger
nails762
Jul 2, 2004 11:37 pm
... Your library doesn't like being reloaded within the same JVM, it appears. Structure your tests in such a way that that doesn't happen. For example, push...
11346
J. B. Rainsberger
nails762
Jul 2, 2004 11:38 pm
... Sounds good, Alberto. Congratulations. I'm glad you had such a positive experience. It bodes well for the community and gives me hope. -- J. B....
11347
Mike Clark
clarkware
Jul 2, 2004 11:46 pm
... It was a great talk! Mike...
11348
mithun aiyanna
aiyannakn
Jul 3, 2004 3:13 pm
Hi All, Could anyone give me suggestions as to which is a better way of feeding test data to a test case? as of now i have a TestData.java class where i set...
11349
J. B. Rainsberger
nails762
Jul 5, 2004 3:53 pm
... It looks like you want to run one test for many rows of data. If so, look at the Parameterized Test Case pattern, either online or in the book /JUnit...
11350
Julie McCabe
mc_julie_mccabe
Jul 5, 2004 4:03 pm
Hello, Summary: Can a parameter be passed into a TestSuite? Background: I would like to use Junit to unit test grid services, that is I would like the service...
11351
Ramanand Hegde
rhegde@...
Jul 5, 2004 4:03 pm
Hi Mithun, The general assumption is that modifying an XML to change the test case parameters is easier than changing the Java code. You can easily transform a...
11352
Elaine Prata
nanyprata
Jul 5, 2004 4:04 pm
J. B. Rainsberger, the methods doOneTimeSetUp() and doOneTimeTearDown() may be write? How? Sorry, but I don't understand this example... Thank you anyway ...
11353
J. B. Rainsberger
nails762
Jul 5, 2004 4:08 pm
... Using FIT/FitNesse for such test cases is even easier. www.fitnesse.org -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com ::...
11354
J. B. Rainsberger
nails762
Jul 5, 2004 4:09 pm
... You write the code to replace those methods. They represent the code you want to set up and tear down once for the test suite. -- J. B. Rainsberger, ...
11355
J. B. Rainsberger
nails762
Jul 5, 2004 4:11 pm
... Yes, but not directly. ... Your test will have to grab that data from somewhere, and there are a number of useful "somewheres": 1. a properties file 2. a...
11356
mc_julie_mccabe
Jul 5, 2004 5:09 pm
Hello, Thanks for the quick response. I can not locate information about the Parameterized Test Case - all I can find is that it should be in the Junit...
11357
J. B. Rainsberger
nails762
Jul 5, 2004 5:15 pm
... Sadly no, and the JUnit archive UI is so annoying that I don't have the patience to look. ... That's a good start. If you get 3 or more properties, switch...
11358
koss@...
Jul 6, 2004 7:16 am
... I'll second that. I bought it through Manning's Early Access Program and it is an excellent book. It consists of every interesting topic discussed on this...
11359
mobile_fhx
Jul 6, 2004 1:21 pm
Hello JUnit group, Ive run into a problem when testing a testcase from ANT. When i am running the test from command line, everything is fast and the test is ...
11360
hedgi
Jul 6, 2004 1:21 pm
Hi guys, Thanks for reading this. I experience the following problem with JUnit. My Company developes a Web Service that receives XML queries. Some of the...