Extension:Doppelganger
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
![]() Release status: unmaintainedCategory:Unmaintained extensions |
|
---|---|
Implementation | APICategory:API extensions |
Description | Provides test stubs and doubles for Scribunto. |
Author(s) | |
Latest version | 0.1.0 |
Compatibility policy | Master maintains backward compatibility.Category:Extensions with master compatibility policy |
MediaWiki | >= 1.33 |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: README, LDoc |
- Please note that development is in a very early stage!
Doppelgänger provides a framework for test stubs and doubles.
Spies work, doubles not ported yet.
Installation
Doppelgänger depends on modules from the Scribunto extension.
- Download and place the file(s) in a directory called
Doppelganger
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Doppelganger' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Development
For recreating the Vagrant-based development environment, see Doppelganger: Topics/Vagrant.