Re:Ask HN: Any Javascript Framework specific Selenium Version?
by mullr on Wednesday June 03, 2009 @10:42AM
(#639813)
The only advice I can offer is to keep as much code gui-agnostic as possible. The usual advice, really, just applied to javascript. Then you can use something like http://jsunity.com/ to test most of it. Gui testing is inevitably harder anyway, even if there are tools.
[ Parent
| on HN ]
Re:Ask HN: Any Javascript Framework specific Selenium Version?
by hugs on Wednesday June 03, 2009 @11:57AM
(#639926)
"Gui testing is inevitably harder anyway, even if there are tools"
I agree. The Selenium project could really use some volunteers to look at the major JS frameworks out there and help make them more testable with Selenium (or WebDriver, which Selenium is merging with in Se 2.0).
Re:Ask HN: Any Javascript Framework specific Selenium Version?
by digamber_kamat on Wednesday June 03, 2009 @03:12PM
(#640225)
jsunity I feel is for unit testing only, that is where when one has many functions with strict parameters and return values. I am not sure how it can be used for GUI testing.