Changed phpunit Makefile to require 'make destructive' to run the test suites as...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2010 21:25:33 +0000 (21:25 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 3 Oct 2010 21:25:33 +0000 (21:25 +0000)
commit28516c209d3ada8508455b405d759f516c23aaab
tree93d66145a4cb96e933dddc25f19a86a06eabefd2
parent423879781bc1e26c6ff4aa038de1778bb8a65c4a
Changed phpunit Makefile to require 'make destructive' to run the test suites as a temporary safety check.

Looks like somebody's snuck a bunch of destructive tests into the default PHPUnit test suite;
this is unsafe and could cause admins and developers to damage their wikis contents accidentally,
not realizing that their main page will be deleted etc.

Tests should be split up into those which alter the live database and those that don't; only
those which are non-destructive should run unless explicitly requested.
maintenance/tests/phpunit/Makefile
maintenance/tests/phpunit/README
maintenance/tests/phpunit/TODO