< Manual:PHP unit testing
MediaWiki Flower
MediaWiki Flower
« Unit testing
PHPUnit testing

Contents

  • Running the tests
    • PostgreSQL
    • Oracle
  • Generate code coverage
  • Writing testable PHP code
  • Writing tests
    • ...for extensions
  • Continuous integration
  • Understanding build failures
  • Appendix
    (how to help, resources..)

Tools

How to help

  • Make sure the tests run on your system -- if they don't, either something's broken or the tests are making bad assumptions, and it needs fixing either way!
  • Find and fix any testing problems on non-MySQL database backends:
    • Manual:PHP unit testing/PostgreSQL
    • Manual:PHP unit testing/Oracle
    • Manual:PHP unit testing/MS SQL Server
  • Find code that needs testing and write tests

See also

  • Manual:Writing testable PHP code
  • Fixing broken tests
  • Continuous integration with Jenkins
  • Requests for comment/Unit testing
Unit testing MediaWiki with PHPUnit
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.