{"_id":"utest","_rev":"21-9f17f97e0acff4a17f4513ad53b02c92","name":"utest","description":"The minimal unit testing library.","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.1","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.1","_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"2ddb8abf0be195af044c77c8e2d83b32b6e76e24","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.1.tgz","integrity":"sha512-7iGrDUm4ozC9pvO+viRkYieqLR418BOI82MWtGiQ3zXA0KbajiHmPNmosnWDGHVieY1f2xsW9kBmRjGf5/BWeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWi3SE0oky5th2QFvoI3t6ubxP+EVe76sJha7fS1IcagIgRaHQ91k/fcYu6koet7MxfPk2fvmDAnnhxvw2wZtthRo="}]},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.2":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.2","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.2","_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"3862e2975309ea5de0940444a6c6ee0179726a16","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.2.tgz","integrity":"sha512-Pnwb/qvydIBdIXf9VPrTtd1qfChKyBy7rFbdB7T538Tqk4MVP+QBmp0KHbkJUhI6D+wP5KEStxgQq1OgZfpARw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAAh/EazdlYypzN76KLAF9wd97SiQrlUwx1gLEHq4XfAiEA/uJW1aZtuJFe+MgWtduK39EBxzOicOJh3Z2Rk3sVlUA="}]},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.3":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.3","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.3","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"591ee44a1703edb95c59b7d4f7f43d66eb6f188f","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.3.tgz","integrity":"sha512-afTRPGr1svhdSIHeUqS6SN/y6yhCk/g29/gd0VGsidh8tgX3UDSUvUCnSCnpV2bTusXhrvjzR5Yn1u5XafSZ/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVZkfClU6uQ4fLKKtcr6gxmW/xZYyIK6EHAADbvduYMwIgI1KXc+u2m3bU3qTZ21+c90pqt9sRgIWXLjwBdZxgry4="}]},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.4":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.4","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.4","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"8009663dd25b258f085154f0842c5a82d4b731d8","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.4.tgz","integrity":"sha512-kxV4UXGxiATzpJYySREE24YYDpsUuCJYhdUHn4AoP5rBFJ2IsZ7PmB0tsWB6dL5HlnoHeQRiTboKyl6lHcj+GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0bTFyN6JYJ8LsHxOOQe2HtFkjd4jXdU/lA69r2UD8aAiAjmbPOnTB6Fsz5Ksbs0TfN0YHJ5nl6hrO0in6u54M44w=="}]},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.5":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.5","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.5","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"699c081449e52e7e5395bb88558420779e40376a","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.5.tgz","integrity":"sha512-qBV6xwtLy1jWdhZN1K5R3qWxMYTEETnM2KwXXWeuxrDsNBKvDOeA9URxGHvW3xpRPuOcEd5tezj/uCIMyWbApw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAb9ysg9I55jtJTIJSF7a2QjPNchWm2/YoY6Sguajou4AiA/8fyODaq/rS5XTnSWxnU33krX/fM/kr1bowGT55ugpg=="}]},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.6":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.6","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"_npmUser":{"name":"felixge","email":"felix@debuggable.com"},"_id":"utest@0.0.6","_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"08e6d06b7fe85bc553bd6ea831bc760450b38b4f","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.6.tgz","integrity":"sha512-bIZ2vMKxMKEhzuQrHSiiaHgmOSerKeZuiPwoOCC3c46w6oPeZtmTVjq+ufpqLy9M8kqPs1S+9KJJHWIjrWTe6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrkEerX5aSwDEOo99kE5bN9uWeXX1sz8cBd6Eugn/6dAIhAOifcHupJae4qYw007oTPp4mrDMK7MsrBIp4FKuiX0W+"}]},"readme":"# utest\n\n[![Build Status](https://secure.travis-ci.org/felixge/node-utest.png)](http://travis-ci.org/felixge/node-utest)\n\nThe minimal unit testing library.\n\n## Why yet another test library?\n\nI wanted something simple, that just does unit tests (no async) and where each\ntest is a standalone UNIX program. Now it exists.\n\n## How do I run async tests?\n\nCurrently there is only one sane way: Do not use a framework. Instead use one\nfile per test.\n\nIf that becomes an issue, you should write more unit tests. (It is not a unit\ntest if it does I/O).\n\n## Install\n\n```\nnpm install utest\n```\n\n## Usage\n\nRunning a test with utest is very simple:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Number#toFixed', {\n  'returns a string': function() {\n    assert.equal(typeof (5).toFixed(), 'string');\n  },\n\n  'takes number of decimal places': function() {\n    assert.equal((5).toFixed(1), '5.0');\n  },\n\n  'does not round': function() {\n    assert.equal((5.55).toFixed(1), '5.5');\n  },\n});\n```\n\nIt is also possible to define a before/after method:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Date', {\n  before: function() {\n    this.date = new Date;\n  },\n\n  after: function() {\n    this.date = null;\n  },\n\n  'lets you manipulate the year': function() {\n    this.date.setYear(2012);\n    assert.equal(this.date.getFullYear(), 2012);\n  },\n\n  'can be coerced into a number': function() {\n    assert.equal(typeof +this.date, 'number');\n  },\n});\n```\n\nLast but not least, you can run individual tests by prefixing them with an\nexclamation mark. This is useful when putting debug statements into the subject\nunder test:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('MyTest', {\n  '!will be executed': function() {\n    // ...\n  },\n\n  'will not be exectuted': function() {\n    // ...\n  },\n});\n```\n\n## Future Features\n\nI want to keep this library as minimal as possible, but I do consider the\naddition of the following features:\n\n* Nested test cases\n* TAP output (if TAP=1 in the environment, switch to TapReporter class)\n* Leak detection (automatically add a final test that fails if there are global\n  leaks).\n\n## License\n\nThis module is licensed under the MIT license.\n","maintainers":[{"name":"felixge","email":"felix@debuggable.com"}]},"0.0.7":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.7","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"readme":"# utest\n\n[![Build Status](https://secure.travis-ci.org/felixge/node-utest.png)](http://travis-ci.org/felixge/node-utest)\n\nThe minimal unit testing library.\n\n## Why yet another test library?\n\nI wanted something simple, that just does unit tests (no async) and where each\ntest is a standalone UNIX program. Now it exists.\n\n## How do I run async tests?\n\nCurrently there is only one sane way: Do not use a framework. Instead use one\nfile per test.\n\nIf that becomes an issue, you should write more unit tests. (It is not a unit\ntest if it does I/O).\n\n## Install\n\n```\nnpm install utest\n```\n\n## Usage\n\nRunning a test with utest is very simple:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Number#toFixed', {\n  'returns a string': function() {\n    assert.equal(typeof (5).toFixed(), 'string');\n  },\n\n  'takes number of decimal places': function() {\n    assert.equal((5).toFixed(1), '5.0');\n  },\n\n  'does not round': function() {\n    assert.equal((5.55).toFixed(1), '5.5');\n  },\n});\n```\n\nIt is also possible to define a before/after method:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Date', {\n  before: function() {\n    this.date = new Date;\n  },\n\n  after: function() {\n    this.date = null;\n  },\n\n  'lets you manipulate the year': function() {\n    this.date.setYear(2012);\n    assert.equal(this.date.getFullYear(), 2012);\n  },\n\n  'can be coerced into a number': function() {\n    assert.equal(typeof +this.date, 'number');\n  },\n});\n```\n\nLast but not least, you can run individual tests by prefixing them with an\nexclamation mark. This is useful when putting debug statements into the subject\nunder test:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('MyTest', {\n  '!will be executed': function() {\n    // ...\n  },\n\n  'will not be exectuted': function() {\n    // ...\n  },\n});\n```\n\n## Future Features\n\nI want to keep this library as minimal as possible, but I do consider the\naddition of the following features:\n\n* Nested test cases\n* TAP output (if TAP=1 in the environment, switch to TapReporter class)\n* Leak detection (automatically add a final test that fails if there are global\n  leaks).\n\n## License\n\nThis module is licensed under the MIT license.\n","readmeFilename":"Readme.md","_id":"utest@0.0.7","dist":{"shasum":"fcfc218bd573d2d9de6208d27b7b72a9e3e425d5","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.7.tgz","integrity":"sha512-uPRH2lSAW08gQXKMXqZLEMjGckdTzbkuqf6pbujXCMvhBcA9funVC6CVGfO+deOQFspSK2x7ChUrYTtLwDcaGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhs1X9xuwF8kuvFQ697EgSQuxP63g2mzII87+HYwW6jAiB+X2GWjdyTvWI15Orsb8mryUvLwCaF0KFou3PMQbd3HA=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"mantoni","email":"mail@maxantoni.de"},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"},{"name":"mantoni","email":"mail@maxantoni.de"}]},"0.0.8":{"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"name":"utest","description":"The minimal unit testing library.","homepage":"https://github.com/felixge/node-utest","version":"0.0.8","repository":{"url":""},"main":"./index","scripts":{"test":"make test"},"engines":{"node":"*"},"browser":"./browser.js","dependencies":{},"devDependencies":{},"optionalDependencies":{},"readme":"# utest\n\n[![Build Status](https://secure.travis-ci.org/felixge/node-utest.png)](http://travis-ci.org/felixge/node-utest)\n\nThe minimal unit testing library.\n\n## Why yet another test library?\n\nI wanted something simple, that just does unit tests (no async) and where each\ntest is a standalone UNIX program. Now it exists.\n\n## How do I run async tests?\n\nCurrently there is only one sane way: Do not use a framework. Instead use one\nfile per test.\n\nIf that becomes an issue, you should write more unit tests. (It is not a unit\ntest if it does I/O).\n\n## Install\n\n```\nnpm install utest\n```\n\n## Usage\n\nRunning a test with utest is very simple:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Number#toFixed', {\n  'returns a string': function() {\n    assert.equal(typeof (5).toFixed(), 'string');\n  },\n\n  'takes number of decimal places': function() {\n    assert.equal((5).toFixed(1), '5.0');\n  },\n\n  'does not round': function() {\n    assert.equal((5.55).toFixed(1), '5.5');\n  },\n});\n```\n\nIt is also possible to define a before/after method:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('Date', {\n  before: function() {\n    this.date = new Date;\n  },\n\n  after: function() {\n    this.date = null;\n  },\n\n  'lets you manipulate the year': function() {\n    this.date.setYear(2012);\n    assert.equal(this.date.getFullYear(), 2012);\n  },\n\n  'can be coerced into a number': function() {\n    assert.equal(typeof +this.date, 'number');\n  },\n});\n```\n\nLast but not least, you can run individual tests by prefixing them with an\nexclamation mark. This is useful when putting debug statements into the subject\nunder test:\n\n```js\nvar test   = require('utest');\nvar assert = require('assert');\n\ntest('MyTest', {\n  '!will be executed': function() {\n    // ...\n  },\n\n  'will not be exectuted': function() {\n    // ...\n  },\n});\n```\n\n## Future Features\n\nI want to keep this library as minimal as possible, but I do consider the\naddition of the following features:\n\n* Nested test cases\n* TAP output (if TAP=1 in the environment, switch to TapReporter class)\n* Leak detection (automatically add a final test that fails if there are global\n  leaks).\n\n## License\n\nThis module is licensed under the MIT license.\n","readmeFilename":"Readme.md","_id":"utest@0.0.8","dist":{"shasum":"fc09451fe697b9008d0c432fe0db439d6cf37914","tarball":"https://registry.npmjs.org/utest/-/utest-0.0.8.tgz","integrity":"sha512-ytvRS6oGpzw2OV1LsD92cr9Jfv0AVschIYo42YEaa3umHD7diWnLIK1Px24kO9eoS4EfGFyjUV15984AZOMIbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk1Nm6ONPKZrH4OL9FiFQqZ4Cp4w6iG7q+tMQbSuifaAiBFkv88mngwOFUQ4RDUzEdIxizpHa7yz1EgVj1Ghp0ryg=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"mantoni","email":"mail@maxantoni.de"},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"},{"name":"mantoni","email":"mail@maxantoni.de"}]}},"maintainers":[{"name":"felixge","email":"felix@debuggable.com"},{"name":"mantoni","email":"mail@maxantoni.de"}],"time":{"modified":"2022-06-28T07:07:51.075Z","created":"2011-11-13T21:25:23.062Z","0.0.1":"2011-11-13T21:25:24.519Z","0.0.2":"2011-11-14T12:53:21.643Z","0.0.3":"2011-11-17T12:10:44.611Z","0.0.4":"2011-12-25T13:22:38.781Z","0.0.5":"2012-01-13T14:19:55.656Z","0.0.6":"2012-04-21T08:21:07.873Z","0.0.7":"2013-04-28T15:57:15.230Z","0.0.8":"2013-04-29T20:28:46.255Z"},"author":{"name":"Felix Geisendörfer","email":"felix@debuggable.com","url":"http://debuggable.com/"},"repository":{"url":""},"users":{"zhangyaochun":true}}