{"id":78498,"library":"contest","title":"Contest","description":"Write declarative tests using nested contexts without performance penalties. Contest is less than 100 lines of code and gets the job done.","status":"active","version":"0.1.3","language":"ruby","source_language":null,"source_url":"https://github.com/citrusbyte/contest","tags":["testing","declarative","contexts","minimal"],"install":[{"cmd":"gem install contest","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'contest', '~> 0.1.3'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Contest","correct":"require 'contest'"}],"quickstart":{"code":"require 'contest'\nclass MyTest < Test::Unit::TestCase\n  context \"a context\" do\n    setup do\n      @value = 1\n    end\n    should \"have a value\" do\n      assert_equal 1, @value\n    end\n  end\nend","lang":"ruby","description":"Define a test with nested contexts"},"warnings":[],"env_vars":null,"search_vec":"'100':15 'code':18 'contest':1,11 'context':7,26 'declar':3,25 'done':23 'get':20 'job':22 'less':13 'line':16 'minim':27 'nest':6 'penalti':10 'perform':9 'test':4,24 'use':5 'without':8 'write':2","created_at":"2026-06-18T04:20:01.244394+00:00","updated_at":"2026-06-18T04:20:01.244394+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/citrusbyte/contest","github":"https://github.com/citrusbyte/contest","docs":"http://www.rubydoc.info/gems/contest/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}