Anomie has uploaded a new change for review.

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, 351 insertions(+), 261 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto 
refs/changes/49/47549/1
--
To view, visit https://gerrit.wikimedia.org/r/47549
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I294b2a8195759c0e4fa211f879305a8eb66d9c9a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to