cucumber-api-steps icon indicating copy to clipboard operation
cucumber-api-steps copied to clipboard

Cucumber steps to easily test REST-based XML and JSON APIs

Results 11 cucumber-api-steps issues
Sort by recently updated
recently updated
newest added

We thought this would be useful. Not sure how the tests for the the features are working though. Could you give us any pointers?

``` Given I send and accept JSON # cucumber-api-steps-0.13/lib/cucumber/api_steps.rb:21 undefined local variable or method `app' for # (NameError) ```

Line 54 of [api_steps.rb](https://github.com/jayzes/cucumber-api-steps/blob/master/lib/cucumber/api_steps.rb) (`request path, request_opts`) throws the `undefined method`symbol' for nil:NilClass` in Rails 5 on API mode. I'm currently using an emergency patch of [api_steps.rb](https://github.com/aaronshim/cucumber-api-steps/blob/master/lib/cucumber/api_steps.rb) What could be...

Hi everyone, i am quite new to cucumber and testing REST API´s. But i have the following problem. I installed the latest version of cucumber-api-steps (v0.13) and when i run...

This library is exactly what we want to use to externally test our API's, but we can't use Rack-Test. Is there any interest in me creating a pull-request that would...

For example, see: http://docs.chargify.com/api-charges#api-usage-json-charges-create ``` cucumber When I send a POST request with the json data to https://[@subdomain].chargify.com/subscriptions/[@subscription.id]/charges.json ```

Using from api_step.rb the step: the XML response should have "field" with the text "1234" The string "1234" enters the body of the step as the argument named 'text'. In...

The two gems are often used together, but I found that as of: https://github.com/jayzes/cucumber-api-steps/commit/9692bb1b8e5ae152cee023a8e4495797bee87604#diff-4a6e5a18c593cf41a8e1174bfd5afd41 I could no longer use both gems since the 'should have' step creates ambiguous match with...

If I copy the step definition that makes the request from the gem and paste it in the `features/step_definitions/custom_steps.rb` (with some parameter modifications) and use this custom step in a...

I just added the cucumber-rails-steps gem to my rails-api project, but now when i run rake test i get `undefined method`World' for main:Object`