3 ms·
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
by mullr 17y ago
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/ http://jsunity.com/ to test most of it. Gui testing is inevitably harder anyway, even if there are tools.
- hugs 17y ago"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).
- digamber_kamat 17y agojsunity 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.