OSDN Git Service

add basic shell smoke test
authorscribu <mail@scribu.net>
Tue, 30 Apr 2013 13:55:01 +0000 (16:55 +0300)
committerscribu <mail@scribu.net>
Tue, 30 Apr 2013 14:20:34 +0000 (17:20 +0300)
features/shell.feature [new file with mode: 0644]

diff --git a/features/shell.feature b/features/shell.feature
new file mode 100644 (file)
index 0000000..924f84f
--- /dev/null
@@ -0,0 +1,11 @@
+Feature: WordPress REPL
+
+  Scenario: Blank session
+    Given a WP install
+
+    When I run `wp shell < /dev/null`
+    Then it should run without errors
+    And STDOUT should be:
+    """
+    Type "exit" to close session.
+    """