Shimmie2 / SCore
Unit Tests

Each extension should (although doesn't technically have to) come with a test.php file, for example ext/index/test.php.

The SimpleSCoreTest extension will look for these files and load any SCoreWebTestCase classes it finds inside them, then run them and report whether or not the test passes.

For Shimmie2 specific extensions, there is a ShimmieWebTestCase class which includes functions to upload and delete images.

For a quick guide on the spcifics of how to write tests, see Writing Unit Tests