Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (9 sloc) 375 Bytes
#!/bin/sh
# Do you want to execute a specific test suites? this script accept as first paramete the suite name!
if ! lsof -Pi :4444 -sTCP:LISTEN -t >/dev/null; then
echo " - Run Selenium"
java -jar -Dwebdriver.chrome.driver=/opt/selenium/chromedriver /opt/selenium/selenium-server.jar 2> /dev/null &
fi
echo " - Run Codeception"
./tests/custom.sh
codecept run "$1"
You can’t perform that action at this time.