... Most importantly, decouple the business logic - and possibly even most of the presentation logic - from the Servlet API. That way you can write most of the...
12778
marvintoll
Feb 1, 2005 10:44 am
Having posted this inquiry on a couple of forums, and having received no indication the code already exists, I coded a reference implementation for the concept...
12779
Jonathan Oddy
jonathanoddy
Feb 1, 2005 3:52 pm
I've a small class for doing something similar for my current (struts) web project. Got bitten enough times by JRun != Tomcat in how each determines which...
12780
wong_powah
Feb 1, 2005 4:31 pm
I installed junit3.8.1 on windows 2000. I set "CLASSPATH" to ".;C:92;Program Files\Java92;jdk1.5.0_01\lib;C:\Program Files\junit3.8.1 \junit.jar;C:\Program...
12781
Anitha kanthraj
anipra
Feb 1, 2005 4:32 pm
Thanks for the prompt response Shane, This is the code - to check an EJB method public void testfindAll(){ try{ Collection valueobjectCollection = ...
12782
david_patrone
Feb 1, 2005 4:32 pm
Hello, Does JUnit support 1.5? If not, is there a plan or a schedule to add this support? We recently moved from 1.4 to 1.5 and started receiving many...
12783
Balasubramaniam, Ram ...
vbrg_1981
Feb 1, 2005 4:33 pm
hai, I am doing my Web Application in Eclipse and Test Run by JUnit. When I write a TestXXX for a class XXX , and run it , it gives me a error "Class not...
12784
Tao Xie
uwtaoxie
Feb 1, 2005 4:33 pm
Jtest automatically generates tests (and can export the generated tests to a JUnit class), whereas JUnit is a framework for you to put in tests and run them. I...
12785
J. B. Rainsberger
nails762
Feb 1, 2005 8:15 pm
... Most of the people I know who have used JTest like its static analysis features (for enforcing coding standards), but I can't think of anyone telling me...
12786
Ian Priest
ianpriest2000
Feb 2, 2005 4:57 pm
12787
Asutosh Panda
asutosh_study
Feb 2, 2005 4:57 pm
Hi All, I m new to JUnit. I'm facing an issue while handling multi threading testing in JUnit. I'm creating two threads to opening two same browser in local...
12788
alex_gantvarg
Feb 2, 2005 4:58 pm
Hi, I'm wondering if JUnit tests can be integrated with WinRunner tests, so I can build and run them together, and produce common output. Thanks, -Alex...
12789
thomhehl70
Feb 2, 2005 4:58 pm
I love junit for my java testing! I am now working on a c++ app and would like to know if there is a comparable tool for c++ testing? Thanks....
12790
Guru prasath
guruprasadhp...
Feb 2, 2005 4:58 pm
When i searched "htmlunit" in Google, the 4th link i got is this link "Testing Web applications with HtmlUnit and WebSphere Studio ...
12791
Bradley, Todd
todd404
Feb 2, 2005 5:45 pm
What are you using to generate output from your JUnit tests? Do you mean test results or log-type messages? Todd. ________________________________ From:...
12792
J. B. Rainsberger
nails762
Feb 2, 2005 6:25 pm
... Since this i ... -- J. B. (Joe) Rainsberger Diaspar Software Services http://www.diasparsoftware.com Author, JUnit Recipes: Practical Methods for...
12793
J. B. Rainsberger
nails762
Feb 2, 2005 6:29 pm
... If this is a problem, then the /test/ should prepare the data in the database, rather than relying on whatever is already there. If all your tests use the...
12794
J. B. Rainsberger
nails762
Feb 2, 2005 6:31 pm
... Without knowing which class is not found, we can only guess what the problem might be. -- J. B. (Joe) Rainsberger Diaspar Software Services ...
12795
J. B. Rainsberger
nails762
Feb 2, 2005 6:31 pm
... Build it from the source. It's one of the easiest builds in all of Open Source. -- J. B. (Joe) Rainsberger Diaspar Software Services ...
12796
J. B. Rainsberger
nails762
Feb 2, 2005 6:33 pm
... If you search the web, you'll find a number of such tools. You might want to further search the web for an article that compares them all. Google will help...
12797
Balasubramaniam, Ram ...
vbrg_1981
Feb 3, 2005 7:11 am
Balasubramaniam, Ram Ganesh (Cognizant) wrote:
> ... problem might be.
hai,
The error is in the " Class corresponding to the TestXXX.java is not found "...
12798
Alex Popescu
alexpopescu7...
Feb 3, 2005 7:27 am
... Hash: SHA1 [quote J. B. Rainsberger::on 2/2/2005 8:28 PM] ... I suggest that for testing real db queries you should do one of the following: 1/ either...
12799
jriley555
Feb 3, 2005 4:42 pm
move your junit installation directly under the root at c: & -of course- adjust the %CLASSPATH% accordingly. this worked for me. the problem is probably some...
12800
alex_gantvarg
Feb 3, 2005 4:42 pm
Todd, We use custom code to generate an xml file. I think we can combine that file and report.txt file generated by WinRunner to produce a common result. What...
12801
jriley555
Feb 3, 2005 4:42 pm
i had same problem as you. pulled the junit directory out of "Program Files", moved it right under C:\, reset the $CLASSPATH accordingly, and everything ran...
12802
suresh akkapeddi
sureshakkapeddi
Feb 3, 2005 4:42 pm
Hi, This is Suresh here. The problem which u are facing is quite common and more often we do encounter this kind of problems. I do have encountered the same...
12803
Shane Mingins
shanemingins
Feb 3, 2005 7:10 pm
... I preface this question with "I know very little about EJB's" Is it possible to implement the findAll logic in a POJO which is then easier to test? Or is...
12804
Shane Mingins
shanemingins
Feb 3, 2005 7:16 pm
... DbUnit has the nice advantage that you can easily assert that the database is in the expected state after the operation if it is an insert or update. Also...
12805
Bradley, Todd
todd404
Feb 3, 2005 10:27 pm
Ah, that's a very interesting problem. We are confronted with exactly the same issue, and I'm currently working on a project where we're designing a...
12806
Metlis, Matthew B.
mmetlis
Feb 4, 2005 1:18 am
Hi, thank you for your suggestion. I work with David on the project where we moved to Java 1.5. I downloaded JUnit and built it from the source with 1.5....