https://bugzilla.wikimedia.org/show_bug.cgi?id=43222

--- Comment #16 from Matthew Flaschen <mflasc...@wikimedia.org> ---
(In reply to comment #15)
> (In reply to comment #14)
> Thanks for these hints. However I was aware of the technical aspects.
> Maybe to be more precise. Is there a prototpe extension that comes up with
> good
> unit tests. Especially the database stuff is something that is not trival to
> test.


There probably are extensions with good database tests, but I can't pinpoint
one offhand.  However, if you go into the test directory of MediaWiki core, you
can do:

git grep db

That will give you an indication of how databases are used for core tests. 
Extension tests generally subclass the same class, MediaWikiTestCase, which
provides some of the database functionality you'll need.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to