{"_id":"chromic","_rev":"11-4a4932bfd895b7270a031230b764d814","name":"chromic","description":"Test framework","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"author":{"name":"Patrick Lee","email":"patrick@boundvariable.com"},"name":"chromic","description":"Test framework","version":"0.0.1","repository":{"type":"git","url":"git://github.com/boundvariable/chromic.git"},"engines":{"node":"~v0.4.11"},"dependencies":{},"devDependencies":{},"main":"src/chromic.js","_npmJsonOpts":{"file":"/Users/plee/.npm/chromic/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"chromic@0.0.1","_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"e5c528457740f0ffbd954ce5ae528589fdc44239","tarball":"https://registry.npmjs.org/chromic/-/chromic-0.0.1.tgz","integrity":"sha512-/e39x2A3wCEQ3P/GaxUZCWgrZCt4hsObGAeJSzO1YSSlQdhRUAR9YbqKhE5XED8fhMPxpeaiXNpgxNeaf4qBnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcH/GUh+WFC/kyPvy8Hn9a+fMFi0rYLV8FPAfFPlgPtQIhAPPj1dFCI2jlz/kExQ/Gh48pJK2lObWv+iNFWoejn9/O"}]},"maintainers":[{"name":"boundvariable","email":"patrick@boundvariable.com"}]},"0.0.2":{"author":{"name":"Patrick Lee","email":"patrick@boundvariable.com"},"name":"chromic","description":"Test framework","version":"0.0.2","repository":{"type":"git","url":"git://github.com/boundvariable/chromic.git"},"engines":{"node":">= 0.4.11 <  0.7.0"},"dependencies":{},"devDependencies":{},"main":"src/chromic.js","_npmUser":{"name":"boundvariable","email":"patrick@boundvariable.com"},"_id":"chromic@0.0.2","_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"c3ea53f16ffd4be88b3aaa59bb247061ff28a350","tarball":"https://registry.npmjs.org/chromic/-/chromic-0.0.2.tgz","integrity":"sha512-y++9kFs4KFE/qN30rVgkBXvn7/D3fckUA6RktqJ3uUAO8FhBFea9Ab1bM4RhDHi0hoSwAWoSM4CEC4OycjEhIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICG4rmR9wFZTtes3TP5BniuzRBZi5vAaY3s+wEai+rnhAiBgD8YC3Ug7B8nFe5FFZW8zg3otmcVEWNcE+sk+QDhDVQ=="}]},"maintainers":[{"name":"boundvariable","email":"patrick@boundvariable.com"}]},"0.0.3":{"author":{"name":"Patrick Lee","email":"patrick@boundvariable.com"},"name":"chromic","description":"Test framework","version":"0.0.3","repository":{"type":"git","url":"git://github.com/boundvariable/chromic.git"},"engines":{"node":">= 0.4.11 <  0.7.0"},"dependencies":{},"devDependencies":{},"main":"src/chromic.js","readme":"```\n      _                         _\n  ___| |__  _ __ ___  _ __ ___ (_) ___\n / __| '_ \\| '__/ _ \\| '_ ` _ \\| |/ __|\n| (__| | | | | | (_) | | | | | | | (__\n \\___|_| |_|_|  \\___/|_| |_| |_|_|\\___|\n\n```\n\n## What is it?\n\nA small test framework written to test drive the code in CoffeeScript in Action.\n\n* Chromic tests are written in Chromic\n* It adds non-enumarable properties to Object.prototype (the horror!)\n* It requires ES5\n\nIf you don't like any of the above then don't use it.\n\n## What does it look like?\n\n```\ndescribe \"true\", ->\n  it \"should be true\", ->\n    true.shouldBe true\n  it \"shouldn't be false\", ->\n    true.shouldntBe false\n```\n\n## What else?\n\n### Stubs\n\n```\ndescribe \"stubs\", ->\n  it \"should create a method stub on object\", ->\n    x = {stubbed: -> false }\n    x.stub(\"stubbed\") -> true\n    x.stubbed().shouldBe true\n```\n\n### Expectations\n```\ndescribe \"should_receive\", ->\n  it \"should have method call expectation\", ->\n    x = fn: -> \"zork\"\n    xDouble = x.double\n    xDouble.shouldReceive(\"fn\").andReturn 4\n    xDouble.fn().shouldBe 4\n```\n\n### Function spies\n\n```\ndescribe \"function spies\", ->\n  it \"should spy on a function\", ->\n    closed_over = 0\n    fn = -> closedOver = 4\n    fn = fn.spy\n    fn.shouldBeInvoked\n    fn()\n    closedOver.shouldBe 4\n```\n\n## Is it on npm?\n\nYes ```npm install chromic```","_id":"chromic@0.0.3","dist":{"shasum":"ebe1626e52478fbd65a53b19618bc80fb1cd6f66","tarball":"https://registry.npmjs.org/chromic/-/chromic-0.0.3.tgz","integrity":"sha512-cif5Mha0I59sqhb7CV2F9mbpXL+QO8v4krvNZ+YAw7IMTmi2f2XomUqre1akz6Lx2jYxLT79uzP+JiQNy+Ci3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/wFo3JgpStgI6juhD/4cmRLUyLHbIxLOzTF4+wxUkLQIhAKvkXA4EHYRxtE5Kc9D6Be1Na18jBLtfjBC7ixgSOpiv"}]},"maintainers":[{"name":"boundvariable","email":"patrick@boundvariable.com"}]},"0.0.4":{"author":{"name":"Patrick Lee","email":"patrick@boundvariable.com"},"name":"chromic","description":"Test framework","version":"0.0.4","repository":{"type":"git","url":"git://github.com/boundvariable/chromic.git"},"engines":{"node":">= 0.4.11 <  0.9.0"},"dependencies":{},"devDependencies":{},"main":"src/chromic.js","readme":"```\n      _                         _\n  ___| |__  _ __ ___  _ __ ___ (_) ___\n / __| '_ \\| '__/ _ \\| '_ ` _ \\| |/ __|\n| (__| | | | | | (_) | | | | | | | (__\n \\___|_| |_|_|  \\___/|_| |_| |_|_|\\___|\n\n```\n\n## What is it?\n\nA small test framework written to test drive the code in CoffeeScript in Action.\n\n* Chromic tests are written in Chromic\n* It adds non-enumarable properties to Object.prototype (the horror!)\n* It requires ES5\n\nIf you don't like any of the above then don't use it.\n\n## What does it look like?\n\n```\ndescribe \"true\", ->\n  it \"should be true\", ->\n    true.shouldBe true\n  it \"shouldn't be false\", ->\n    true.shouldntBe false\n```\n\n## What else?\n\n### Stubs\n\n```\ndescribe \"stubs\", ->\n  it \"should create a method stub on object\", ->\n    x = {stubbed: -> false }\n    x.stub(\"stubbed\") -> true\n    x.stubbed().shouldBe true\n```\n\n### Expectations\n```\ndescribe \"should_receive\", ->\n  it \"should have method call expectation\", ->\n    x = fn: -> \"zork\"\n    xDouble = x.double\n    xDouble.shouldReceive(\"fn\").andReturn 4\n    xDouble.fn().shouldBe 4\n```\n\n### Function spies\n\n```\ndescribe \"function spies\", ->\n  it \"should spy on a function\", ->\n    closed_over = 0\n    fn = -> closedOver = 4\n    fn = fn.spy\n    fn.shouldBeInvoked\n    fn()\n    closedOver.shouldBe 4\n```\n\n## Is it on npm?\n\nYes ```npm install chromic```","_id":"chromic@0.0.4","dist":{"shasum":"74b9053063652c7fa87e24429850ab095b200c6f","tarball":"https://registry.npmjs.org/chromic/-/chromic-0.0.4.tgz","integrity":"sha512-MLrfkLt80nn+9UBsZc2Wz7pKJcMljcxsFSuqSBAqu1gpOjFTL95LYTLshaHEeC638GAWCSYOUOc8i2YIR7SX9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQgl4n77EuL4ylB7HcU0qjucebKnUNUXHeddvTLT3XsAiA706srh4utCDLRL13dchFix0+9ZmPJOKI5ToHpLYdynQ=="}]},"maintainers":[{"name":"boundvariable","email":"patrick@boundvariable.com"}]}},"maintainers":[{"name":"boundvariable","email":"patrick@boundvariable.com"}],"time":{"modified":"2022-06-13T06:00:57.047Z","created":"2011-09-06T03:36:49.306Z","0.0.1":"2011-09-06T03:36:54.919Z","0.0.2":"2012-01-04T11:39:37.135Z","0.0.3":"2012-08-24T02:42:50.766Z","0.0.4":"2012-08-24T02:45:00.791Z"},"author":{"name":"Patrick Lee","email":"patrick@boundvariable.com"},"repository":{"type":"git","url":"git://github.com/boundvariable/chromic.git"}}