Hey,

Your best bet might be making actual web requests. You can use Selenium
> from PHPUnit, ...
>

Is there an example of a test doing either of those?

The web request case is apparently not as simple as stuffing
Title::newFromText()->getCannonicalUrl() into Http::get() and I'd rather
not be making an abstraction for this myself as it requires a bunch of MW
knowledge I do not have.

Therefore, you must call the "controller" directly from your test.
>

What is this "controller" in MediaWiki context? Do you have any example of
how this would work?

Cheers

--
Jeroen De Dauw | www.EntropyWins.wtf <https://EntropyWins.wtf> |
www.Professional.Wiki <https://Professional.Wiki>
Entrepreneur | Software Crafter | Speaker | Open Souce and Wikimedia
contributor
~=[,,_,,]:3
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to