Si votre extension utilise l'enregistrement d'extension et que vos tests phpunit se trouvent dans le sous-répertoire tests/phpunit/ de votre extension, le conteneur phpunit de MediaWiki détectera automatiquement les tests unitaires à l'aide de l'enregistrement d'une extension.
If your extension uses extension registration and your phpunit tests are located in the tests/phpunit/ subdirectory of your extension, the phpunit wrapper of MediaWiki will autodiscover the unit tests with the help of extension registration.
Pour trouver des exemples de tests PHPUnit, vous pouvez regarder dans le paquet Auth.
For examples of PHPUnit tests, see the Auth package.
Tests PhpUnit d'une application: la configuration du point d'entrée n'était pas chargée correctement
PhpUnit tests for application: the configuration of the entry point indicated for test was not loaded correctly.
Nous n'allons pas écrire de tests PHPUnit dans cette série, mais les assertions sont des outils pratiques en combinaisons avec Behat.
We are not going to write good ol' PHPUnit test cases in this series, but the assertions are a handy tool together with Behat.
Pour obtenir des instructions pour relier le framework de tests PHPUnit dans Eclipse.
For instructions to link the PHPUnit testing framework in Eclipse.
Le framework utilise le gestionnaire de dépendances Composer, l'environnement de tests PHPUnit et Travis CI qui est un outil d'intégration continue utilisé pour concevoir et automatiser la publication des projets GitHub.
The framework uses the package administrator, Composer, the script-test environment, PHPUnit, and Travis CI, a tool for continuous integration, where GitHub projects can be built and published automatically.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.