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...
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. -...
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...
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...
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...
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...
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...
... 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...
... Which freely-available tutorials on the web have you read so far? -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
... 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...
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...
Daniel Le Berre
leberre@...
Jul 2, 2004 9:36 am
11343
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"...
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...
... 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...
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...
... 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...
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...
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...
Ramanand Hegde
rhegde@...
Jul 5, 2004 4:03 pm
11352
J. B. Rainsberger, the methods doOneTimeSetUp() and doOneTimeTearDown() may be write? How? Sorry, but I don't understand this example... Thank you anyway ...
... Using FIT/FitNesse for such test cases is even easier. www.fitnesse.org -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com ::...
... 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, ...
... 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...
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...
... 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...
... 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...
koss@...
Jul 6, 2004 7:16 am
11359
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 ...
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...