Hey,
I don't know about doing this with the MediaWiki tests, though I'm doing
something very similar for the code I work on. All my repos have a
phpunit.xml file in their root, so you can just run "phpunit" in there and
have all the tests run. Which is the standard way of doing things, and
recognized by lots of IDEs and plugins.
I'm currently using this handly little Node script to run my tests on file
change:
https://npmjs.org/package/phpunit-testrunner
Or "grunt watch" in the repos where I'm using the Grunt task runner. When
running Linux you can write a 3 line bash script that already gets you most
of the value. As long as there is a sane test runner that is...
What tests do you want to run anyway? Not all MW tests I imagine, as they
take many minutes to run, which clearly is to long when you run this on
every file change.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--