parserTests: Use a mock parser during article insertion
authorTim Starling <tstarling@wikimedia.org>
Thu, 6 Oct 2016 05:41:15 +0000 (16:41 +1100)
committerTim Starling <tstarling@wikimedia.org>
Thu, 6 Oct 2016 06:08:27 +0000 (17:08 +1100)
commit65b732f295687f0d2f2f37361494c3136c70481d
treeb6dc6af9906c8abdfe5eaa48e83e1e8d84ed7367
parent616c5d086b4c1aa98902b888a2e41634b39c6339
parserTests: Use a mock parser during article insertion

This makes debugging simpler by avoiding log noise, hitting breakpoints
unexpectedly, etc. This means that {{subst:}} is no longer supported in
!!article sections, but I could only find one test which relied on that.

Change-Id: I6400defa389389e5d9632fb01d4a534c0d88d442
tests/common/TestsAutoLoader.php
tests/parser/ParserTestMockParser.php [new file with mode: 0644]
tests/parser/ParserTestRunner.php