Last modified: 2014-11-19 23:54:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65474, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63474 - Write tests for mediawiki_selenium Ruby gem
Write tests for mediawiki_selenium Ruby gem
Status: NEW
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-03 11:00 UTC by Željko Filipin
Modified: 2014-11-19 23:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Željko Filipin 2014-04-03 11:00:37 UTC
In the spirit of "the shoemaker's children go barefoot"[1], mediawiki_selenium[2][3] Ruby gem has no tests, mostly because I just did not know how to test it. I have recently stumbled upon Aruba[4][5] Ruby gem. Similarly to mediawiki_selenium, it contains Cucumber step definitions[6][7] and hooks[8][9]. Unlike mediawiki_selenium, it contains tests[10][11].

Add at least one test to mediawiki_selenium. Do not forget to create a Jenkins job that will run the test(s) after every patch set submission to the repo.

1: https://en.wiktionary.org/wiki/the_shoemaker's_children_go_barefoot
2: https://rubygems.org/gems/mediawiki_selenium
3: https://github.com/wikimedia/mediawiki-selenium
4: https://rubygems.org/gems/aruba
5: https://github.com/cucumber/aruba
6: https://github.com/wikimedia/mediawiki-selenium/tree/master/lib/mediawiki_selenium/step_definitions
7: https://github.com/cucumber/aruba/blob/master/lib/aruba/cucumber.rb
8: https://github.com/wikimedia/mediawiki-selenium/blob/master/lib/mediawiki_selenium/support/hooks.rb
9: https://github.com/cucumber/aruba/blob/master/lib/aruba/cucumber/hooks.rb
10: https://github.com/cucumber/aruba/tree/master/spec
11: https://github.com/cucumber/aruba/tree/master/features
Comment 1 Željko Filipin 2014-11-19 14:37:31 UTC
Dan, you are working on this, right?
Comment 2 Dan Duvall 2014-11-19 23:54:30 UTC
In the env-abstraction-layer branch I've been implementing unit tests as I go,[1] but we could certainly use a handful of functional tests.

[1] https://github.com/wikimedia/mediawiki-selenium/tree/env-abstraction-layer/spec

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links