Hey Thomas
Thanks for the swift reply.
FYI - the Rakefile wasn''t in the dist zip but I downloaded the src from
the svn trunk instead. I get some failures on WinXP in IE6, maybe this
is just the tip broken ?
Best
Matt
----------------------------------------------------------
C:\dev\work\scriptaculous-dev>rake unittest
(in C:/dev/work/scriptaculous-dev)
Skipping Safari, not supported on this OS
/test/unit/loading_test.html on Firefox: SUCCESS
/test/unit/unittest_test.html on Firefox: SUCCESS
/test/unit/bdd_test.html on Firefox: SUCCESS
/test/unit/effects_test.html on Firefox: SUCCESS
/test/unit/ajax_autocompleter_test.html on Firefox: SUCCESS
/test/unit/ajax_inplaceeditor_test.html on Firefox: SUCCESS
/test/unit/slider_test.html on Firefox: SUCCESS
/test/unit/string_test.html on Firefox: SUCCESS
/test/unit/builder_test.html on Firefox: SUCCESS
/test/unit/element_test.html on Firefox: SUCCESS
/test/unit/dragdrop_test.html on Firefox: SUCCESS
/test/unit/sortable_test.html on Firefox: SUCCESS
/test/unit/position_clone_test.html on Firefox: SUCCESS
MAJOR ANNOYANCE on Windows.
You have to shut down the Internet Explorer manually after each
test
for the script to proceed.
Any suggestions on fixing this is GREATLY appreaciated!
Thank you for your understanding.
/test/unit/loading_test.html on Internet Explorer: SUCCESS
/test/unit/unittest_test.html on Internet Explorer: SUCCESS
/test/unit/bdd_test.html on Internet Explorer: ERROR
/test/unit/effects_test.html on Internet Explorer: SUCCESS
/test/unit/ajax_autocompleter_test.html on Internet Explorer: ERROR
/test/unit/ajax_inplaceeditor_test.html on Internet Explorer: ERROR
/test/unit/slider_test.html on Internet Explorer: ERROR
/test/unit/string_test.html on Internet Explorer: SUCCESS
/test/unit/builder_test.html on Internet Explorer: FAILURE
/test/unit/element_test.html on Internet Explorer: SUCCESS
/test/unit/dragdrop_test.html on Internet Explorer: SUCCESS
/test/unit/sortable_test.html on Internet Explorer: SUCCESS
/test/unit/position_clone_test.html on Internet Explorer: FAILURE
Skipping Konqueror, not supported on this OS
C:\dev\work\scriptaculous-dev>ruby -version
ruby 1.8.5 (2006-08-25) [i386-mswin32]
-e:1: undefined local variable or method `rsion'' for main:Object
(NameError)
----------------------------------------------------------
Thomas Fuchs wrote:
>
> if you just have installed ruby and rake, you can also use it
> standalone, that is indepent of rails. for example, you can just
> download the script.aculo.us dist zip, or get it from svn and run:
>
> rake unittest
>
> have a look in the Rakefile to get an idea of how it works, and just
> add your own tests. of course it''s much easier with the rails
plugin.
>
> best,
> thomas
>
> Am 31.10.2006 um 14:07 schrieb Matt Spendlove:
>
> >
> > Hey folks
> >
> > I am trying to utilise the built in BDD / unit testing capabilities
of
> > scriptaculous.
> >
> > My investigations so far have been based on the pdf :
> >
> > <http://mir.aculo.us/stuff/AdventuresInJavaScriptTesting.pdf>.
> >
> > I wish to use this stuff outside of Rails context so I was hoping to
> > hook rake and the javascript_test plugin up outside of Rails ?
> >
> > My knowledge of Rails is only basic so I am struggling a little
> > with how
> > to achieve this. The commands to install the plugin and use the
> > generator all seem to assume a Rails project i.e. `script/generate
> > xxx''
> > rather than `ruby script/generate'' ?
> >
> > Perhaps someone could confirm if my assumptions are possible and
> > help to
> > clear up my confusion ?
> >
> > Many Thanks
> >
> > Matt
> >
> >
> >
> > >
>
> --
> Thomas Fuchs
> wollzelle
>
> http://www.wollzelle.com
>
> questentier on AIM
> madrobby on irc.freenode.net
>
> http://www.fluxiom.com :: online digital asset management
> http://script.aculo.us :: Web 2.0 JavaScript
> http://mir.aculo.us :: Where no web developer has gone before
>
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---