Demon has submitted this change and it was merged. Change subject: Make Lua engine tests modular ......................................................................
Make Lua engine tests modular Rework the LuaEngine tests to be entirely modular, so that every library need not add itself to one monolithic file. This also allows other extensions that add Lua modules to make unit tests without having to somehow inject them into a test class owned by Scribunto. The approach taken is similar to that used for Selenium for running tests against multiple browsers. Change-Id: I294b2a8195759c0e4fa211f879305a8eb66d9c9a --- M Scribunto.php M common/Hooks.php A tests/engines/LuaCommon/CommonTest.php M tests/engines/LuaCommon/LuaDataProvider.php D tests/engines/LuaCommon/LuaEngineTest.php A tests/engines/LuaCommon/LuaEngineTestBase.php D tests/engines/LuaSandbox/LuaSandboxEngineTest.php A tests/engines/LuaSandbox/SandboxTest.php D tests/engines/LuaStandalone/LuaStandaloneEngineTest.php A tests/engines/LuaStandalone/StandaloneTest.php 10 files changed, 357 insertions(+), 261 deletions(-) Approvals: Demon: Verified; Looks good to me, approved jenkins-bot: Checked -- To view, visit https://gerrit.wikimedia.org/r/47549 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I294b2a8195759c0e4fa211f879305a8eb66d9c9a Gerrit-PatchSet: 5 Gerrit-Project: mediawiki/extensions/Scribunto Gerrit-Branch: master Gerrit-Owner: Anomie <[email protected]> Gerrit-Reviewer: Anomie <[email protected]> Gerrit-Reviewer: Demon <[email protected]> Gerrit-Reviewer: Tim Starling <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
