Mediawiki Testing Environment

957 views
903 views

Published on

Presentation I prepared for the MediaWki hacker meeting in Berlin April 2009

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
957
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mediawiki Testing Environment

  1. 1. Wikiation Testing Environment How do I know that you tested it? If I do not know it is tested, should I use it?
  2. 2. Install environment <ul><li>Installs MediaWiki by tag or revision </li></ul><ul><li>Installs extensions by tag or revision </li></ul><ul><ul><li>download: just loads the extension </li></ul></ul><ul><ul><li>naive: installs standard configuration for an extension </li></ul></ul><ul><ul><li>scripted: installs a custom configuration for an extension </li></ul></ul><ul><ul><li>extension: when there is no script, it installs naively </li></ul></ul>
  3. 3. Update environment <ul><li>Updates is what we do not do yet </li></ul>
  4. 4. Test environment <ul><li>We use virtual machines </li></ul><ul><ul><li>allows for different LAMP configurations </li></ul></ul><ul><ul><li>we use the parser tests </li></ul></ul><ul><ul><li>we use pywikipedia </li></ul></ul><ul><li>We have a few test cases using pywikipedia </li></ul><ul><li>We can test </li></ul><ul><ul><li>individual extensions </li></ul></ul><ul><ul><li>environments </li></ul></ul><ul><ul><ul><li>English Wikipedia </li></ul></ul></ul><ul><ul><ul><li>Semantic Wikipedia (Referata) </li></ul></ul></ul><ul><ul><ul><li>Uniwiki (usability) </li></ul></ul></ul><ul><ul><ul><li>Metavidwiki </li></ul></ul></ul>
  5. 5. Numbers <ul><li>283 out of 376 extensions can be installed </li></ul><ul><ul><li>only 75% </li></ul></ul><ul><ul><ul><li>up from 258 out of 359, that's 72% </li></ul></ul></ul><ul><li>Instal en.wp in four minutes using a script </li></ul><ul><ul><li>Passed 564 of 580 tests (97.24%)... </li></ul></ul><ul><ul><li>16 tests failed the parser test for us !! </li></ul></ul><ul><li>When you share your tests with us, </li></ul><ul><ul><li>You have an test environment </li></ul></ul><ul><ul><li>Brion can use your test and add tests for you to accomplish </li></ul></ul><ul><ul><li>We can check if your software works elsewhere </li></ul></ul>
  6. 6. We need you <ul><li>http://fosdem.wikiation.nl </li></ul><ul><ul><li>this is where you can try it out </li></ul></ul><ul><li>http://extensiontesting.wikiation.nl </li></ul><ul><ul><li>the documentation </li></ul></ul><ul><li>WMF SVN </li></ul><ul><ul><li>for the installer, the installation scripts, the test-cases </li></ul></ul><ul><li>To apply standards for extensions </li></ul><ul><li>To test and share your test-cases </li></ul>
  7. 7. Discussion <ul><li>What standards for extensions? </li></ul><ul><li>How to share extensions that are not in the WMF SVN? </li></ul><ul><li>What standards for test-cases? </li></ul><ul><li>Will Brion favour reviews with test-cases? </li></ul><ul><li>Will users of MediaWiki find test results relevant? </li></ul>
  8. 8. Thank you

×