/** * @throws \Exception * @group phpspec */ public function testShouldPassPhpSpecTest() { try { $app = new Application('phpguard-listen-spec'); $app->setAutoExit(false); $app->setCatchExceptions(true); $input = new StringInput('run --ansi'); $return = $app->run($input); $this->assertEquals(0, $return, 'PhpGuard Spec Testing is not passed.'); } catch (\Exception $e) { throw $e; } }