... With this example though, one thing that strikes me is that Peel, Chop and Eat responsibilities don't naturally belong to the same object. I'd expected a...
I am also in smilar situation. Did you find out any way out?Pl share. Thanks Victor bkkunam <bkkunam@...> wrote: Hi, Whenever assert* or and JUnit test...
Lots of ideas..thanks folks.. No design cannot change for testing (can't expect new API for testing). Saying that these dependencies exists. Decision to be...
Since you said that there are many tests to run and that you run those from command line and console type of environment. May I suggest the use of ANT for...
I am experiencing the same problem and it was not fixed with the way suggested. Doesn't anybody have the same problem? I read a post somewhere saying this...
Any clue on this. 1.I get a "Prohibited package name: java.beans" Exception when I run a test. 2.Looked at the methods...they are public.Looked at the policy ...
... Watch it though: you will also aprove subclasses in this manner. If it is only about assignability, fine. But if you need the *same* class, isInstanceOf...
... I believe it's a space in the CLASSPATH. At least, that's what I remember from earlier e-mails. -- J. B. (Joe) Rainsberger Diaspar Software Services ...
... I hate to be rude, but do you /understand/ the error message? Java does not allow you to use the package java.beans. Are you trying to put your own classes...
... An ANT question, but what the hey ;-) ... Curious. I'm guessing that you haven't set the environment variables ANT_HOME, JAVA_HOME, etc. In Windows, this...
... Correct, if the OP wants to know whether Object Obj1 and Object Obj2 are the same type, then a simple obj1.getClass() == obj2.getCLass() would surfice. ...
... way ... Currently, my CLASSPATH looks like this %JUNIT_HOME%\junit.jar;%JUNIT_HOME% and, I have problem running the junit.samples.AllTests. Here is the ...
hi. I'm using a MVC application. I want to check the following path: Login - navigate to a specific JSP - ask for customer details. I want to check the...
... I initially started with Windows system variables per: Matt Raible's Wiki site, but following other advice, I cleaned them out to do everything in ANT. I...
Hi All, I've Been Looking Forward to Integrate the Two Frameworks But got No Success. Can Someone Send in Some Piece of Code On How to integrate the Two at...
... What does JUNIT_HOME point to? -- J. B. (Joe) Rainsberger Diaspar Software Services http://www.diasparsoftware.com Author, JUnit Recipes: Practical Methods...
... If this is really an MVC application, then you should be able to set up the appropriate context and just invoke the Controller that handles the request you...
... There is an example at the bottom of http://jemmy.netbeans.org/samples.html (so if you just googled a little bit and looked a little bit harder, you would...
Folks, I have a heirarchy of test cases.(jUnit/cactus based). Some test cases are run at the parent level and some are run at the child level. My observation...
... If you don't want to rerun the tests from the parent class, I assume that you are reusing some other code from it? What if you simply moved that code to a...
Hello, I have written a junit testCase to test EJB. I am calling the testcase from a jsp. My problem is i get the awt window but it says class not found.can...
The requirement might need the methods in the parent class to be used in child class in which case you cannot remove the relationship between the two. For...
My classes in the heirarchy uses different set of behaviour. Apart from this I would want tests to be run at different levels. If I can move common code, I...
... If there are methods in Mammel that you don't want to have in Dog, you need to introduce another class between Animal and Mammel, that Dog can directly ...
Hi, I've just started working with JUnit. Till now i've written some testcases and executing these testcases with the help of a testsuite. Now i want to...
Joe, thanks for your reply. 1. I not going to argue about the MVC thing :), the app is adding data to the session, so, a given action can access it. now, I can...
... You can Google for "Parameterized Test Case" or search the archives for it. You will find lots of information. * -- Jason Rogers "I am crucified with...