It was brought up the Testing: Where does it hurt? discussion that we should try out end-to-end testing frameworks in other languages such as JS other languages that MW devs might be more familiar with.
| Language | Ruby | JavaScript |
|---|---|---|
| Implementation | CRuby | Node.js |
| Package manager | RubyGems, Bundler | npm |
| Build automation | Rake | Grunt |
| Linter | RuboCop | JSHint, JSCS |
| Testing framework | Cucumber, RSpec | Mocha |
| Browser driver | Selenium | Selenium |
| Selenium bindings | Ruby bindings (github.com, code.google.com, API) | WebDriverJS (github.com, code.google.com, API) |
| Browser driver package | selenium-webdriver (rubygems.org) | selenium-webdriver (npmjs.com) |
| Nicer API on top of Selenium | watir-webdriver | none |
| Page object | page-object | in Malu |
| Shared Selenium code | mediawiki_selenium | Malu |
| Mediawiki API | mediawiki_api | nodemw |
See also Manual:Unit testing.