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

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 936 - 965 of 1225   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
952
... Hi Patrick, Thanks for the start. JsUnit's XML has changed again since your XSLT. Among other things, it uses "testCaseResult" rather than "testCase". ...
matthewlmcclure
Offline Send Email
Sep 22, 2007
6:58 pm
953
Comment are very wellcome! http://robcos.com/unit-testing-with-javascript/...
robcos_78
Offline Send Email
Sep 28, 2007
4:00 pm
954
Hello, Some folks on the Maven users' list have been discussing creating a plugin that has everything needed for agile development in JS. One of the things ...
Harlan Iverson
loopyfx
Online Now Send Email
Oct 1, 2007
8:44 pm
955
Here is what I'd like to do: I am running JSUnit 2.1. Still running (JDK 1.4.2 - don't laugh;) I'd like to be able to have a remote Windows box running JSUnit...
reemz11
Offline Send Email
Oct 2, 2007
1:11 am
956
Hi, This is a very typical and well-supported use of JsUnit. Apologies for the lack of documentation - we're currently working on revamping the website, which...
Edward Hieatt
edwardhieatt
Offline Send Email
Oct 2, 2007
3:09 am
957
Thanks for the info. What do I need to enable on the machine running the tests so that the remote server can communicate with it? Do I have to also start a...
Qazi, Karim
reemz11
Offline Send Email
Oct 2, 2007
3:34 pm
958
Here is what I have found with both JSUnit 2.1 & 2.2 in relation to my use case. 1. With 2.1 it does not spawn a server instance on the machine running the...
reemz11
Offline Send Email
Oct 3, 2007
3:16 am
959
What I am trying to say is how does the remote JSUnit server request the tests from the build server? ... the remote server can communicate with it? Do I have...
reemz11
Offline Send Email
Oct 3, 2007
3:17 am
960
Sorry you're having trouble getting started. Here are the basics: A. Start a JsUnitServer on each of the machines on which you want the tests to run....
Edward Hieatt
edwardhieatt
Offline Send Email
Oct 3, 2007
3:30 am
961
I actually did the steps (A, B & C) you outlined before I wrote the last post comparing the differences I found between 2.2 & 2.1 JSUnit versions. 1. I...
reemz11
Offline Send Email
Oct 3, 2007
3:54 am
962
I wouldn't bother with 2.1 (it's very old) - stick with 2.2. OK, you're farther along than I thought. It does sound like the problem is that you haven't...
Edward Hieatt
edwardhieatt
Offline Send Email
Oct 3, 2007
3:58 am
963
Doesn't JSUnit 2.2 automatically use the directory relative to where the tests are run from. For example in my testing I am running everything from where I...
reemz11
Offline Send Email
Oct 3, 2007
2:38 pm
964
I also could see (since my timeout was 120secs) that manually requesting the test page I set in the testPage query string param would actually return...
reemz11
Offline Send Email
Oct 3, 2007
2:38 pm
965
Sounds like at this point you have enough information to configure things - there must just be something wrong in your configuration....
Edward Hieatt
edwardhieatt
Offline Send Email
Oct 3, 2007
3:36 pm
Messages 936 - 965 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