Registry / testing / rspec-given

rspec-given

JSON →
library3.8.2rbrubygemsunverified

Given is an RSpec extension that allows the use of Given/When/Then terminology when defining specifications.

gem install rspec-given
INSTALL
IMPORT
SIG · RSPEC-GIVEN
R
rspec-given
testingrubyv3.8.2
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.

RSpec::Given
require 'rspec/given'

Define a specification using Given/When/Then

require 'rspec/given' RSpec.describe 'example' do Given(:value) { 42 } Then { value == 42 } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.8.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rspec-given — gem install rspec-given · libregistry