setName("test") ->setDescription("Run tests") ->setHelp("Run php unit tests"); } /** * {@inheritDoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $this->io->title("UserFrosting's Tester"); // Get command $command = \UserFrosting\VENDOR_DIR . "/bin/phpunit --colors=always"; if ($output->isVerbose() || $output->isVeryVerbose()) { $command .= " -v"; } // Execute $this->io->writeln("> $command"); passthru($command); } }