Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Latest commit

 

History

History
67 lines (54 loc) · 2.73 KB

testing.md

File metadata and controls

67 lines (54 loc) · 2.73 KB

Testing Appropedia

If you've just upgraded Mediawiki or extensions (see mediawiki.md) or have done other work, you should go through this list to make sure you haven't broken anything.

Eventually we would like to make an automated regression test for this. For now, slog through it by hand.

Mediawiki core

Semantic mediawiki

If any of the above doesn't work, here are some possible diagnostic tests that might help:

  • First, test that the most basic semantic functions work as described under http://semantic-mediawiki.org/wiki/Help:Installation#Testing_your_Installation
  • Try a simple query test using http://www.appropedia.org/Special:Ask, eg. put [[testproperty::Dummypage]] in the query box, and you should see your test page show up in the results.
  • Try running Ask on some real data, eg. put [[Medical Device Topic::Malaria]] in the query box, and see if real medical devices show up.
  • If existing pages aren't showing up in SMW queries or Ask results, try editing and re-saving those pages to refresh their semantic representation in the database. Note that you'll have to refresh/purge a query page (eg. the medical devices portal) before changes appear. If this works, then your database needs repairing. You can do this from the SMWAdmin page at http://www.appropedia.org/Special:SMWAdmin

Other extensions

This list is not comprehensive, but is based primarily on regressions for things we've broken before. If you break something else, add it to this list.

  • http://www.appropedia.org/Help:Math should display formulae correctly
  • Ensure Google Analytics is working: logout, visit any normal (non Special:) page, view source, and look for GA script at bottom page page (you may find it helpful to search within source for "UA-18072726-1" which is Appropedia's analytics ID).

Local customisations etc