<?xml version="1.0"?>
<rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:php="http://php.net/xsl" version="2.0"><channel><title>gorn.ch
                
                Comments</title><link>http://gorn.ch/</link><description>Comments </description><generator>Flux CMS - http://www.flux-cms.org/</generator><ttl>60</ttl><item><title>ebi: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1966</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1966</comments><author>ebi &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Yes unfortunately that's currently the case. I hope I can fix that somehow with patching YUI Test a little to report correctly to JsTestDriver :)</content:encoded><dc:date>2009-12-22T13:09:46Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1966</guid></item><item><title>acme: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1965</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1965</comments><author>acme &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Hi, I've solved it by disable the dynamic loading and load all the required JS by specifying them in the configuration file.&lt;br /&gt;
Only one problem now, when a test fails using the YahooAssert framework, JsTestDriver will treat it as an error other than fail..</content:encoded><dc:date>2009-12-21T01:52:29Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1965</guid></item><item><title>acme: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1964</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1964</comments><author>acme &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">I made some debugging. Since in YUI 3 the callback function is called after the required component is loaded. When I run the test case, it seems after YUI finish the loading and begin to execute the callback function, at this moment, JSTestDriver have been finished runing and exit. So when we try to call functions of JSTestDriver, it's no longer
available...</content:encoded><dc:date>2009-12-16T15:36:43Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1964</guid></item><item><title>acme: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1963</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1963</comments><author>acme &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Thanks for your quick response.:)&lt;br /&gt;
I tried that and failed again. I 'm wondering in the case you described what the js excute flow is. Actually, I'm new to YUI3. And YUI 3 seems to be very different from YUI2. I can make YUI2 work with JsTestDriver.&lt;br /&gt;
If I put the YUI.add('jstestdriver') after the definition of testcase(in the test case, I also add this piece of code Y.jstestdriver.Runner.add(suite);...) so seems I try to use Y.jstestdriver before I register the jstestdriver with yui. weird...</content:encoded><dc:date>2009-12-16T14:37:45Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1963</guid></item><item><title>ebi: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1962</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1962</comments><author>ebi &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Try to load it after the tests :) Probably the better way is to do it as an onload event anyways. I saw that the guys from lazr do it even more advanced now so I will probably do an update to this post soon.</content:encoded><dc:date>2009-12-16T08:32:42Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1962</guid></item><item><title>acme: YUI3 Test and JsTestDriver</title><link>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1961</link><comments>http://gorn.ch/archive/2009/12/08/yui3-test-and-jstestdriver.html#c1961</comments><author>acme &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Hi, I used your method. I keep the snip in a seperate Js file. And before load the tests, I load it. but when I run Js-tes-driver, the code above will never be accessed.</content:encoded><dc:date>2009-12-16T02:04:22Z</dc:date><guid isPermaLink="false">http://gorn.ch/yui3-test-and-jstestdriver.html#c1961</guid></item><item><title>ebi: No iPhone social self experiment</title><link>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1960</link><comments>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1960</comments><author>ebi &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Not too bad never touched my iPhone so far. But I started to take an iPod with me because walking around without music is just too boring. I'm missing some stuff but generally enjoying to be without iPhone :) Will post a bigger report soon.</content:encoded><dc:date>2009-11-25T15:55:35Z</dc:date><guid isPermaLink="false">http://gorn.ch/no-iphone-social-self-experiment.html#c1960</guid></item><item><title>Dan: No iPhone social self experiment</title><link>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1959</link><comments>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1959</comments><author>Dan &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">How's the experiment going?</content:encoded><dc:date>2009-11-24T21:51:09Z</dc:date><guid isPermaLink="false">http://gorn.ch/no-iphone-social-self-experiment.html#c1959</guid></item><item><title>Filippo: No iPhone social self experiment</title><link>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1958</link><comments>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1958</comments><author>Filippo &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">... why don't you have a look at this, and contact me back if you think it's a nice idea?&lt;br /&gt;
&lt;a href="http://www.easytrailsgps.com/Micro-Donations"&gt;http://www.easytrailsgps.com/Micro-Donations&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
it can be nice if you can help me spreading this idea,... plz</content:encoded><dc:date>2009-11-17T18:24:19Z</dc:date><guid isPermaLink="false">http://gorn.ch/no-iphone-social-self-experiment.html#c1958</guid></item><item><title>kev: No iPhone social self experiment</title><link>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1957</link><comments>http://gorn.ch/archive/2009/11/16/no-iphone-social-self-experiment.html#c1957</comments><author>kev &lt;undisclosed@example.org&gt;
                        </author><content:encoded xmlns="http://www.w3.org/1999/xhtml">Good idea except the music/public transport thing. Keep a music player which is nothing put that i suggest, like a shuffle or so. Good luck with your therapy! Bless, k</content:encoded><dc:date>2009-11-17T07:13:57Z</dc:date><guid isPermaLink="false">http://gorn.ch/no-iphone-social-self-experiment.html#c1957</guid></item></channel></rss>
