Registry / testing / cucumber-api

cucumber-api

JSON →
library0.9rbrubygemsunverified

cucumber-api allows API JSON response validation and verification in BDD style using Cucumber.

gem install cucumber-api
INSTALL
IMPORT
SIG · CUCUMBER-API
C
cucumber-api
testingrubyv0.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cucumber::Api
require 'cucumber/api'

Validate JSON response keys in Cucumber steps.

require 'cucumber/api' Then(/^the response should have key "(.*?)"$/) do |key| expect(JSON.parse(last_response.body)).to have_key(key) end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
cucumber-api — gem install cucumber-api · libregistry