On Jan 11, 2010, at Jan 11,7:15 PM , Nikita Vasilyev wrote: > Is there any example of using QUnit with Rhino (or another JS engine)? > (at least without DOM) > > I would like to run QUnit tests from Rake task.
I run qunit tests with the SpiderMonkey/Ruby/Johnson port of env.js. All the pieces are (supposed to be) put together in the smparkes-jazrb gem. An example use is in my fork of Jack Moffitt's strophejs XMPP client library: http://github.com/smparkes/strophejs With all the pieces installed you can use the jazrb command to run strophe.js's qunit tests: smpar...@collegeterrace ~/strophejs $ jazrb -q tests/pubsub.html tests/strophe.html ................................ Finished in 1.787826 seconds 32 examples, 0 failures, 0 pending The default output is rspec-like, but you can ask for it in pseudo-junit xml with the -x flag, too.
-- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.