File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,3 +80,34 @@ Feature: Test that WP-CLI loads.
8080 """
8181 6.3.1
8282 """
83+
84+ @skip-mysql
85+ Scenario : Skip on MySQL databases
86+ Given a WP install
87+
88+ When I run `wp eval 'echo "This should only run on MariaDB or SQLite";' `
89+ Then STDOUT should contain:
90+ """
91+ This should only run on MariaDB or SQLite
92+ """
93+
94+ @skip-mariadb
95+ Scenario : Skip on MariaDB databases
96+ Given a WP install
97+
98+ When I run `wp eval 'echo "This should only run on MySQL or SQLite";' `
99+ Then STDOUT should contain:
100+ """
101+ This should only run on MySQL or SQLite
102+ """
103+
104+ @skip-sqlite
105+ Scenario : Skip on SQLite databases
106+ Given a WP install
107+
108+ When I run `wp eval 'echo "This should only run on MySQL or MariaDB";' `
109+ Then STDOUT should contain:
110+ """
111+ This should only run on MySQL or MariaDB
112+ """
113+
You can’t perform that action at this time.
0 commit comments