--- /dev/null
+Feature: Manage WordPress posts
+
+ Scenario: Creating/updating/deleting posts
+ Given WP install
+
+ When I run `wp post create --post_title='Test post' --porcelain`
+ Then it should run without errors
+ And STDOUT should match '%d'
+ And save STDOUT as {POST_ID}
+
+ When I run `wp post update {POST_ID} --post_title='Updated post'`
+ Then it should run without errors
+ And STDOUT should be:
+ """
+ Success: Updated post {POST_ID}.
+ """
+
+ When I run `wp post delete {POST_ID}`
+ Then it should run without errors
+ And STDOUT should be:
+ """
+ Success: Trashed post {POST_ID}.
+ """
+
+ When I run the previous command again
+ Then it should run without errors
+
+ When I run the previous command again
+ Then the return code should be 1