Re: [Wikitech-l] Jenkins and extension parser tests

2012-12-12 Thread Merlijn van Deen
Hi Platonides, Thanks for your response (and I extend my thanks to NikeRabbit, who improved the extension unit test page a lot!). On 12 December 2012 00:04, Platonides platoni...@gmail.com wrote: If you only want to run parser tests from a different file, there's no need to create a new

[Wikitech-l] Jenkins and extension parser tests

2012-12-11 Thread Merlijn van Deen
tl;dr below, frustration ahead. I've been trying to get Jenkins to run the parsertests of LabeledSectionTransclusion, but this has been an incredibly frustrating experience. It shouldn't be too hard, right? Well, read on... I thought I'd start with the existing 'testextensions' jenkins job [1],

Re: [Wikitech-l] Jenkins and extension parser tests

2012-12-11 Thread Platonides
If you only want to run parser tests from a different file, there's no need to create a new class. You simply add in the main file: $wgParserTestFiles[] = dirname( __FILE__ ) . /lstParserTests.txt; (already in lst.php) It will be automagically picked when running the phpunit tests (if you have