Search the web
Sign In
New User? Sign Up
jsunit
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to programmatically call JsUnit?   Message List  
Reply | Forward Message #1191 of 1231 |
Re: How to programmatically call JsUnit?

Hmm. I am having similar errors when trying to run JSUnit using Ant: I
can get it to load and run the test page, but then it redirects to
http://localhost:8081/jsunit/acceptor (I set it to use port 8081
instead of 8080), which results in a 404 error:

HTTP ERROR: 404

Error loading configuration file xwork.xml

RequestURI=/jsunit/acceptor

Powered by Jetty://

I am using the latest version of JSUnit from the trunk. Initially it
did not include jsunit.jar at all so I grabbed it from the 2.2 alpha
tarball. I tried including xwork.xml in the ant classpath setting, but
still no luck.

Any suggestions? Any help would be greatly appreciated.

Thanks :)
Keith




Fri Feb 27, 2009 9:25 pm

pwnedd
Offline Offline
Send Email Send Email

Forward
Message #1191 of 1231 |
Expand Messages Author Sort by Date

I am trying to programmatically call JsUnit from Java classes. I have no particular purpose for doing this, but I want to find the different possibilities...
shabzev
Offline Send Email
Jun 17, 2006
7:31 pm

Actually, adding JsUnit tests to your JUnit suite is supported, and is precisely the intended way of running JsUnit from Java. You should extend ...
Edward Hieatt
edwardhieatt
Offline Send Email
Jun 17, 2006
8:00 pm

... don't have the ... specify an ... Thank you! I just put xwork.xml in my classpath and it worked. However, it wasn't packaged inside jsunit.jar (though I ...
shabzev
Offline Send Email
Jun 19, 2006
3:13 pm

Hmm. I am having similar errors when trying to run JSUnit using Ant: I can get it to load and run the test page, but then it redirects to ...
Keith Hughitt
pwnedd
Offline Send Email
Mar 3, 2009
12:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help