aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/documentation
Commit message (Collapse)AuthorAgeFilesLines
* Relax ReleaseNotesTest to accept long URLsthiemowmde2022-11-071-1/+4
| | | | | Needed-For: I1f085532ab720265acb1213f33869f759a987d92 Change-Id: Icb09fed4cd6d0306ce081b0ea1ca63ef55c4ad25
* Merge "Add composer releasenotes command"jenkins-bot2021-12-231-0/+1
|\
| * Add composer releasenotes commandReedy2021-12-151-0/+1
| | | | | | | | | | Bug: T297826 Change-Id: Ia2ab03f27d423c4c318da803172957d5ff5c0311
* | ReleaseNotesTest: Minor cleanupReedy2021-12-181-9/+8
| | | | | | | | | | | | | | | | | | * Remove unused $index in foreach * Rename $max_length to $maxLength * Don't repeatedly set $maxLength to the same value * Don't set $num unless it is needed Change-Id: I8b57d637918e883076349d209a845da27c2b78cd
* | tests: Remove FILE_SKIP_EMPTY_LINES from ReleaseNotesTestUmherirrender2021-12-181-1/+1
|/ | | | | | | The line count in the error message gets wrong, when the empty lines are not counted. Change-Id: Ibb3a39d55893dc8ddd08208df356d189eabd73df
* Make ReleaseNotesTest a pure unit testDannyS7122021-01-211-0/+89
| | | | Change-Id: I935ef42a971924486bf2b1a7a9f41610262d0375
* Revert "Separate MediaWiki unit and integration tests"Legoktm2019-06-131-69/+0
| | | | | | | | This reverts commit 0a2b996278e57a8b8c5377cd3a3eaa54f993d4a9. Reason for revert: Broke postgres tests. Change-Id: I27d8e0c807ad5f0748b9611a4f3df84cc213fbe1
* Separate MediaWiki unit and integration testsMáté Szabó2019-06-131-0/+69
This changeset implements T89432 and related tickets and is based on exploration done at the Prague Hackathon. The goal is to identify tests in MediaWiki core that can be run without having to install & configure MediaWiki and its dependencies, and provide a way to execute these tests via the standard phpunit entry point, allowing for faster development and integration with existing tooling like IDEs. The initial set of tests that met these criteria were identified using the work Amir did in I88822667693d9e00ac3d4639c87bc24e5083e5e8. These tests were then moved into a new subdirectory under phpunit/ and organized into a separate test suite. The environment for this suite is set up via a PHPUnit bootstrap file without a custom entry point. You can execute these tests by running: $ vendor/bin/phpunit -d memory_limit=512M -c tests/phpunit/unit-tests.xml Bug: T89432 Bug: T87781 Bug: T84948 Change-Id: Iad01033a0548afd4d2a6f2c1ef6fcc9debf72c0d