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

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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
Messages 922 - 951 of 1225   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
922
hi all, I made the required changes in build.xml as the documentation of the project. but when i tried to execute ... I got an error complaining about a...
eduardoschettino
eduardoschet...
Offline Send Email
Aug 2, 2007
4:34 pm
923
Hi, I had the same issue using test suites. I wanted to load pages into the suite that were relative to the suite, not to the testRunner. I also wanted to...
peterciuffetti
Offline Send Email
Aug 9, 2007
11:42 pm
924
Hi! At the moment I'm running my JsUnit tests with the ant tasks "standalone_test" and "distributed_test". Everthing runs prefect! I read in the documentation...
christoph_steinwachs
christoph_st...
Offline Send Email
Aug 14, 2007
3:40 pm
925
Hi Chris, I do that very thing, using a suite. Simply extend TestCase and define a suite() method: public static Test suite() { TestSuite suite = new...
Ross Simpson
eldoclimber
Offline Send Email
Aug 14, 2007
8:27 pm
926
Hi Ross, at first thank you very much for your reply! When I run the test from JUnit I get an initializationError. JUnit doesn't use the properties in...
christoph_steinwachs
christoph_st...
Offline Send Email
Aug 15, 2007
2:14 pm
927
Chris, You are correct; JUnit doesn't use (nor know about) build.xml. Those properties in build.xml are actually just set as system properties by ant. What I...
Ross Simpson
eldoclimber
Offline Send Email
Aug 15, 2007
6:32 pm
928
Hi everyone, Thanks to a suggestion from Dean McNamee and Dan Pupius, we've improved the way JsUnit detects test functions in IE. Previously, JsUnit was forced...
Erik Hanson
hanson_erik
Offline Send Email
Aug 16, 2007
3:15 am
929
Hi Ross, I defined the properties but I got this initializationError again: java.lang.NoClassDefFoundError: org/jdom/Content at...
christoph_steinwachs
christoph_st...
Offline Send Email
Aug 16, 2007
8:28 pm
930
Hello, I have code to download a file to a portable mp3 player and want to test it, but the download function returns right away, sending back information via...
drdasher
Offline Send Email
Aug 17, 2007
8:58 pm
931
... JsUnit is designed to not let you hold up the test runner (it's designed for fast, focused unit tests). But that doesn't mean it can't help you in this...
Erik Hanson
hanson_erik
Offline Send Email
Aug 20, 2007
2:05 am
932
Chris, I have not seen the problem you describe. I use maven as a build system, which launches JUnit for me. I'm guessing it does some initialization. The...
Ross Simpson
eldoclimber
Offline Send Email
Aug 22, 2007
2:46 am
933
I am running Eclipse on Vista, and have gotten the JsUnit test runner and plugin successfully working, save one exception. The plugin does not work with IE7....
wxffle
Offline Send Email
Aug 24, 2007
4:20 am
934
It seems svn:externals on jsunit/trunk/jsunit/app should be changed from: css https://svn.sourceforge.net/svnroot/jsunit/trunk/jsunit/css to: css...
matthewlmcclure
Offline Send Email
Aug 26, 2007
3:42 pm
935
You're right. I've changed it....
Edward Hieatt
edwardhieatt
Offline Send Email
Aug 26, 2007
6:56 pm
936
Hej, does anybody read the patch section on the sourceforge page? There weren't any answers to other patches. Anyway, you can find my patch there: ...
cvogt_az
Offline Send Email
Sep 13, 2007
2:40 am
937
I have a Firefox extension, originally based on a Greasemonkey script and now grown into a behemoth. I'm looking for UT tools. I've not done any Javascript...
edwhuk
Offline Send Email
Sep 13, 2007
2:40 am
938
I m using jsunit to test my application.. at present i m using testrunner.html to run the tests... PLease tell me any one how to automate jsunit. thanks in...
sai.dasari
Offline Send Email
Sep 13, 2007
2:40 am
939
Sometimes I have noticed that JSUnit will show errors when running a test even if the errors have already been caught an dealt with within a try/catch block. ...
khmer440
Offline Send Email
Sep 13, 2007
2:40 am
940
Edward -- Since Greasemonkey scripts are just plain old JavaScript, they're definitely testable using using JsUnit. I haven't played with Firefox extensions...
Xian
antixian666
Offline Send Email
Sep 13, 2007
9:25 pm
941
Ok, good. But I need a bit of help getting my head round it. Greasemonkey scripts work by slotting into Firefox and executing Javascript code once pages have...
edwhuk
Offline Send Email
Sep 15, 2007
6:07 am
942
I'd like to see the results of individual JsUnit tests in my CruiseControl Test Results. CruiseControl understands JUnit XML, and JsUnit's 2.1 Server Logging...
matthewlmcclure
Offline Send Email
Sep 15, 2007
2:44 pm
943
Hi, We found the same issue. Here is the XSLT we use to convert. It will also generate a "Browser Timed out" error in the case where the browser didn't return...
Patrick Myles
patrick_t_myles
Offline Send Email
Sep 17, 2007
2:36 pm
944
Hiii to all............. I have this assignment ..... a) Create a object oriented javascript datastructures library which consist of the following data...
viral sonawala
viral_cool19
Offline Send Email
Sep 18, 2007
3:36 pm
945
Your test page's body could contain a simplified version of the page that your Greasemonkey script wants to modify. Include the Greasemonkey js script after...
Xian
antixian666
Offline Send Email
Sep 19, 2007
2:57 am
946
Great Hi to everyone here: I just started using JSUnit to test Javascript(JS) yesterday, I am still not quite familiar with its features. The JS I am going to...
flyeminent
Offline Send Email
Sep 20, 2007
3:16 am
947
I think you just need to append your "mock_div" to the DOM so that your code can find it. For example, in the body of your Test Page, you could have: <div...
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 20, 2007
4:22 am
948
I would agree with Edward with regards to adding a div to the page in your case. However, for more general JS mocking, for example for non-DOM interaction...
Patrick Myles
patrick_t_myles
Offline Send Email
Sep 20, 2007
2:06 pm
949
... your code ... Yes, the way you mentioned above is possible. However, I am looking for another way like mocking. That means I don't even want to append and...
flyeminent
Offline Send Email
Sep 21, 2007
4:29 am
950
Can you just redefine $ in your Test Page? Something like function $(elementId) { return mock_div; }...
Edward Hieatt
edwardhieatt
Offline Send Email
Sep 21, 2007
4:32 am
951
... Yes, redefining the function is definitely working. And I have tried mock4js as well. The fact is that the project which I am testing contains a number of...
flyeminent
Offline Send Email
Sep 21, 2007
3:20 pm
Messages 922 - 951 of 1225   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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