features/print_response.feature in rest_baby-0.4 vs features/print_response.feature in rest_baby-0.5
- old
+ new
@@ -1,20 +1,21 @@
Feature: Create a basic rest client that can get, put, post, and delete
@extended @get @print
+@print.S1
Scenario: client rest Get
Given I have a web service
And I have "GET" service for "/test" as follows
"""
{'Answer': 'What did you expect?'}
"""
And I am a rest client
-# And I pause
When I "GET" from the web service
Then I receive the expected message
@put @extended @print
+@print.S2
Scenario: client rest Put
Given I have a web service
And I have "PUT" service for "/test" as follows
"""
{'Answer': 'What did you expect?'}
@@ -25,10 +26,11 @@
{'Answer': 'What did you expect?'}
"""
Then I receive the expected message
@post @extended @print
+@print.S3
Scenario: client rest Post
Given I have a web service
And I have "POST" service for "/test" as follows
"""
{'Answer': 'What did you expect?'}
@@ -39,9 +41,10 @@
{'Answer': 'What did you expect?'}
"""
Then I receive the expected message
@delete @extended @print
+@print.S4
Scenario: client rest Delete
Given I have a web service
And I have "DELETE" service for "/test" as follows
"""
{'Answer': 'What did you expect?'}