https://bugzilla.wikimedia.org/show_bug.cgi?id=46635

--- Comment #3 from MWJames <[email protected]> ---
> > Because as long as tests do not work, [1] is blocked.
> > 
> > [1] https://gerrit.wikimedia.org/r/#/c/56393/
> 
> I see no unit tests being added in that changeset.

Well, I updated the change but as you can see their are two issues first
PropertyLibraryTests.lua returns locally with

Notice: unserialize(): Error at offset 114 of 118 bytes in
C:\xampp\htdocs\mw\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php
on line 384 Lua error: Internal error: Unable to decode message. Backtrace: #0

but the more severe issue is '''Jenkins''' since Scribunto is not a dependency
"$wgAutoloadClasses['Scribunto_LuaEngineTestBase']" or class_exists() won't
work because Jenkins checks the directory (-- extensions/SemanticMediaWiki) and
not the "UnitTestsList hook" so doing 

" ... extends Scribunto_LuaEngineTestBase" will fail in Jenkins for extensions.
It is not really a nice design for a test case rather I would expect to invoke
the Scribunto_LuaEngineTestBase class and set properties via setter/getter but
I can't do this because the $moduleName is protected (of course I could try
going through the ReflectionClass but this shouldn't be necessary).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to