annotate core/.env.example @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 129ea1e6d783
children
rev   line source
Chris@17 1 # This is a dotenv file used by JavaScript tasks.
Chris@17 2 # Copy this to '.env' to override.
Chris@17 3
Chris@17 4 #############################
Chris@17 5 # General Test Environment #
Chris@17 6 #############################
Chris@17 7 # This is the URL that Drupal can be accessed by. You don't need an installed
Chris@17 8 # site here, just make sure you can at least access the installer screen. If you
Chris@17 9 # don't already have one running, e.g. Apache, you can use PHP's built-in web
Chris@17 10 # server by running the following command in your Drupal root folder:
Chris@17 11 # php -S localhost:8888 .ht.router.php
Chris@17 12 # DRUPAL_TEST_BASE_URL=http://localhost:8888
Chris@17 13 DRUPAL_TEST_BASE_URL=
Chris@17 14
Chris@17 15 # Tests need to be executed with a user in the same group as the web server
Chris@17 16 # user.
Chris@17 17 #DRUPAL_TEST_WEBSERVER_USER=www-data
Chris@17 18
Chris@17 19 # By default we use sqlite as database. Use
Chris@17 20 # mysql://username:password@localhost/databasename#table_prefix for mysql.
Chris@17 21 DRUPAL_TEST_DB_URL=sqlite://localhost/sites/default/files/db.sqlite
Chris@17 22
Chris@17 23 #############
Chris@17 24 # Webdriver #
Chris@17 25 #############
Chris@17 26
Chris@17 27 # If Chromedriver is running as a service elsewhere, set it here.
Chris@17 28 # When using DRUPAL_TEST_CHROMEDRIVER_AUTOSTART leave this at the default settings.
Chris@17 29 DRUPAL_TEST_WEBDRIVER_HOSTNAME=localhost
Chris@17 30 DRUPAL_TEST_WEBDRIVER_PORT=9515
Chris@17 31
Chris@17 32 # If using Selenium, override the path prefix here.
Chris@17 33 # See http://nightwatchjs.org/gettingstarted#browser-drivers-setup
Chris@17 34 #DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub
Chris@17 35
Chris@17 36 ################
Chris@17 37 # Chromedriver #
Chris@17 38 ################
Chris@17 39
Chris@17 40 # Automatically start chromedriver for local development. Set to false when you
Chris@17 41 # use your own webdriver or chromedriver setup.
Chris@17 42 # Also set it to false when you use a different browser for testing.
Chris@17 43 DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=true
Chris@17 44
Chris@17 45 # A list of arguments to pass to Chrome, separated by spaces
Chris@17 46 # e.g. `--disable-gpu --headless --no-sandbox`.
Chris@17 47 #DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=
Chris@17 48
Chris@17 49 ##############
Chris@17 50 # Nightwatch #
Chris@17 51 ##############
Chris@17 52
Chris@17 53 # Nightwatch generates output files. Use this to specify the location where these
Chris@17 54 # files need to be stored. The default location is ignored by git, if you modify
Chris@17 55 # the location you will probably want to add this location to your .gitignore.
Chris@17 56 DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch
Chris@17 57
Chris@17 58 # The path that Nightwatch searches for assumes the same directory structure as
Chris@17 59 # when you download Drupal core. If you have Drupal installed into a docroot
Chris@17 60 # folder, you can use the following folder structure to add integration tests
Chris@17 61 # for your project, outside of tests specifically for custom modules/themes/profiles.
Chris@17 62 #
Chris@17 63 # .
Chris@17 64 # ├── docroot
Chris@17 65 # │ ├── core
Chris@17 66 # ├── tests
Chris@17 67 # │ ├── Nightwatch
Chris@17 68 # │ │ ├── Tests
Chris@17 69 # │ │ │ ├── myTest.js
Chris@17 70 #
Chris@17 71 # and then set DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../
Chris@17 72 #
Chris@17 73 #DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=
Chris@17 74
Chris@17 75 # Filter directories to look for tests. This uses minimatch syntax.
Chris@17 76 # Separate folders with a comma.
Chris@17 77 DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest