search for: jsunit

Displaying 5 results from an estimated 5 matches for "jsunit".

Did you mean: lsunit
2007 Jun 11
0
Selenium RC Fu (plus js unit)
...elenium RC server, runs selenium tests, and shuts the server down when they''re done and lower level tasks as well: - selenium:server starts up a Selenium RC server - selenium:test_with_server_started runs Selenium tests off of an existing server == Oh Yeah... We''ve got JsUnit support as well! Check out this site for more information: http://www.jsunit.net/ There''s a series of jsunit:xxx rake tasks devoted to running JsUnit distributed server tests from Ruby. == Future Enhancements There are a few things we''d like to improve, but we wanted to get th...
2005 Jun 29
2
Unit testing
Recently, I''ve started to write unit tests for some of my scripts. In general,it''s no worse in JavaScript than in Ruby or Java. I didn''t have the courage to try Selenium, but had a look at JsUnit. Unfortunately, in Konqueror it produces unfathomable errors and in Firefox it is slow beyond imagination. Anyway, writing tests for functions that are computational or manipulate the DOM is no big deal. What I need is some inspiration how to automatically test code that interacts with the use...
2007 Jan 08
1
Controller actions do a bunch of javascript stuff...can I use spec that?
...RL. I know that sounds really ugly (and I agree it is), but that''s the way it has to be at this point. Working with a "legacy" system. Is there any way I can spec that behavior with rspec? I sort of assume not, since it''s highly dependent on JS...probably need to use jsunit for that instead. Still I''ve love to hear any ideas, as well as how I could move more of the behavior into Ruby instead of JS. Pat
2006 Jun 12
10
Cross Broswer Fire Event
Is there a standard way of programmatically firing an event on an element? I think this code works in IE but not FF: myElement.fireEvent(''onclick''); I really only care about IE and FF, but anything else is a bonus. I didn''t see anything in prototype/scriptaculous for this, but I might have missed it. Thanks. Joe Athman
2006 Dec 27
13
Where did UJS go? UJS vs. RJS
I have not been able to access the UJS site, http://www.ujs4rails.com/ for two days. Does that mean there are problems or that it has been incorporated into Rails core? In general, what do you think of using UJS instead of RJS? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google