Open jsamuel opened 12 years ago
imported trac comment
created: 2010-02-03 20:30:14
author: justin
Barring also finding a way to use smjs from the command line to test the semi-standalone modules, it looks like this may be a good way to go:
https://developer.mozilla.org/en/Mozmill_Tests https://addons.mozilla.org/en-US/firefox/addon/9018
imported trac comment
created: 2011-02-16 10:35:28
author: eibwen
Any progress on this? This has been open for over a year, but would allow automated verification that new patches don't break existing functionality, and with unit tests for the new features, could confirm that the patches work as expected.
Useful for trunk, useful for personal branches...
See ticket:190#comment:1 for a sample end-user use case.
I need to write unit tests. The first pass at them can be simple and incomplete, but some form of unit testing needs to be started. Suggestions for how to best do this are welcome. Odds are I may start with testing functionality that is mostly plain javascript (not browser-related) using command line js shells. I need to investigate options such as jsunit and down the road things like Selenium.