[development] simpletest and #ahah?

Neil Drumm drumm at delocalizedham.com
Sun Dec 14 03:06:19 UTC 2008


You would have to use a unit testing framework design for JavaScript.
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#JavaScript.
Or use something designed for general front-end testing, like
Selenium. One of these could theoretically be integrated with
Simpletest.

-Neil

On Sat, Dec 13, 2008 at 6:18 PM, augustin (beginner)
<drupal.beginner at wechange.org> wrote:
> On Sunday 14 December 2008 06:18:27 Dmitri Gaskin wrote:
>> If it's degradable, then it will work, provided you test the degraded
>> version. To test it manually, turn JS off in your browser.
>
> Yes, thanks.
>
> So, in a way, you confirm that there is no way to test the js version.
> Then, the only way to test the #ahah callback would be through unit testing...
>
> Augustin.
>



-- 
Neil Drumm
http://delocalizedham.com


More information about the development mailing list