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@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