/** * Checks for the pspell extension. * * @return void */ public function setUp() { parent::setUp(); if (!extension_loaded('pspell')) { $this->markTestSkipped('pspell extension not available'); } }
/** * Skips tests if the SQLite PDO driver is not available. * * @return void */ public function setUp() { if (!extension_loaded('PDO') || !extension_loaded('pdo_sqlite')) { $this->markTestSkipped('PDO or pdo_sqlite extension is required'); } parent::setUp(); }