Registry / testing / contest

contest

JSON →
library0.1.3rbrubygemsunverified

Write declarative tests using nested contexts without performance penalties. Contest is less than 100 lines of code and gets the job done.

gem install contest
INSTALL
IMPORT
SIG · CONTEST
C
contest
testingrubyv0.1.3
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.

Contest
✓ require 'contest'

Define a test with nested contexts

require 'contest' class MyTest < Test::Unit::TestCase context "a context" do setup do @value = 1 end should "have a value" do assert_equal 1, @value end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
contest — gem install contest · libregistry