writeln('To run behat test you must first get selenium :'); $output->writeln('http://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar'); $output->writeln('and run it with the following command "java -jar selenium-server-standalone-2.31.0.jar > /dev/null &"'); $output->writeln('Then you must run the following command :'); $relativePath = $fs->makePathRelative(getcwd(), $this->container['root.path'] . '/behat.yml'); $cmd = sprintf('cp %sbehat.yml.dist %sbehat.yml', $relativePath, $relativePath); $output->writeln(''.$cmd.''); } }