From 50c7e236323397ad561a291cbd4c6480cd417378 Mon Sep 17 00:00:00 2001 From: Simon Brown Date: Tue, 6 Feb 2018 12:25:14 +0000 Subject: [PATCH] Update developer_guide.rst changes required to run the test suite locally on a server that isn't called www.ninja.test running without https on port 8000 --- docs/developer_guide.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst index 155e4e66fcb6..1e74b8657c85 100644 --- a/docs/developer_guide.rst +++ b/docs/developer_guide.rst @@ -44,5 +44,10 @@ To run the `Codeception `_ tests you’ll need to insta - Create config file: ``cp tests/_bootstrap.php.default tests/_bootstrap.php`` - Create test user: ``php artisan db:seed --class=UserTableSeeder`` +- edit the following files, replacing ``www.ninja.test:8000`` with your local test domain: + - /.travis.ylm + - /app/Libraries/Utils.php + - /tests/acceptance.suite.yml + - /tests/functional.suite.yml - Start the PhantomJS web server: ``phantomjs --webdriver=4444`` - Run the tests: ``sudo ./vendor/codeception/codeception/codecept run --debug``