@@ -7,6 +7,7 @@ Feature: WP-CLI SQLite Export Command
77 Given a WP installation
88 And the SQLite database contains some sample data
99
10+ @require-sqlite
1011 Scenario : Successfully export the entire SQLite database
1112 When I run `wp sqlite export test_export.sql`
1213 Then STDOUT should contain:
@@ -24,6 +25,7 @@ Feature: WP-CLI SQLite Export Command
2425 INSERT INTO
2526 """
2627
28+ @require-sqlite
2729 Scenario : Export specific tables
2830 When I run `wp sqlite export test_export_specific.sql --tables=wp_posts,wp_users`
2931 Then STDOUT should contain:
@@ -45,6 +47,7 @@ Feature: WP-CLI SQLite Export Command
4547 CREATE TABLE wp_options
4648 """
4749
50+ @require-sqlite
4851 Scenario : Export all tables except specific ones
4952 When I run `wp sqlite export test_export_exclude.sql --exclude_tables=wp_posts,wp_users`
5053 Then STDOUT should contain:
@@ -66,6 +69,7 @@ Feature: WP-CLI SQLite Export Command
6669 CREATE TABLE wp_options
6770 """
6871
72+ @require-sqlite
6973 Scenario : Export to STDOUT
7074 When I run `wp sqlite export -`
7175 Then STDOUT should contain:
@@ -81,6 +85,7 @@ Feature: WP-CLI SQLite Export Command
8185 INSERT INTO
8286 """
8387
88+ @require-sqlite
8489 Scenario : Export with porcelain flag
8590 When I run `wp sqlite export --porcelain`
8691 Then STDOUT should match /^[\w-]+\.sql$/
@@ -89,6 +94,7 @@ Feature: WP-CLI SQLite Export Command
8994 Success: Exporting database...
9095 """
9196
97+ @require-sqlite
9298 Scenario : Export with both --tables and --exclude_tables
9399 When I run `wp sqlite export test_export_both.sql --tables=wp_posts,wp_users,wp_options --exclude_tables=wp_users`
94100 Then STDOUT should contain:
0 commit comments