MDL-37046 behat: Adding empty Behat config file
authorDavid Monllao <davidm@moodle.com>
Tue, 18 Dec 2012 06:37:31 +0000 (14:37 +0800)
committerDavid Monllao <davidm@moodle.com>
Tue, 29 Jan 2013 00:40:37 +0000 (08:40 +0800)
This empty behat config file allows behat CLI
command to run before test environment has been set

.gitignore
behat.yml.dist [new file with mode: 0644]

index 9fcf336..9aaa9d1 100644 (file)
@@ -29,3 +29,4 @@ phpunit.xml
 # Composer support - only composer.json is to be in git, the rest is installed in each checkout.
 composer.phar
 /vendor/
+behat.yml
diff --git a/behat.yml.dist b/behat.yml.dist
new file mode 100644 (file)
index 0000000..60cf807
--- /dev/null
@@ -0,0 +1,14 @@
+default:
+  paths:
+    features: lib/behat/features
+    bootstrap: lib/behat/features/bootstrap
+  context:
+    class: behat_init_context
+  extensions:
+    Behat\MinkExtension\Extension:
+      base_url: 'http://localhost:8000'
+      goutte: null
+      selenium2: null
+    Moodle\BehatExtension\Extension:
+      features: {  }
+      steps_definitions: {  }