{"_id":"strong-pubsub-test","_rev":"185-859b615edc227834be49e6e6463f83fd","name":"strong-pubsub-test","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"strong-pubsub-test","version":"0.1.0","author":{"name":"Ritchie Martori"},"license":{"url":"https://github.com/strongloop/strong-pubsub-test/blob/master/LICENSE","name":"Dual MIT/StrongLoop"},"_id":"strong-pubsub-test@0.1.0","maintainers":[{"name":"ritch","email":"skawful@gmail.com"}],"dist":{"shasum":"48dcaca3d941fa59ed45a95db4afbf967f97c6a8","tarball":"https://registry.npmjs.org/strong-pubsub-test/-/strong-pubsub-test-0.1.0.tgz","integrity":"sha512-jVLRiAyXce2JeSBB796kZyE/LhkZlwDlo/8NF4yFLX9fqvPOyMQ0y7q3MVUZKClcz48Yaq8302adLWbh8vc/gQ==","signatures":[{"sig":"MEQCIHaviNyZQhM3sPysbptAZWTIW8NjlhKUecW8w+hkT9FWAiArMKYSSYR8iX7aWvfNYZCibSGF6wEPdymGZnSnzY6tgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"48dcaca3d941fa59ed45a95db4afbf967f97c6a8","gitHead":"db34d6802030ed807a35998e01ea4c5762035742","scripts":{},"_npmUser":{"name":"ritch","email":"skawful@gmail.com"},"_npmVersion":"2.5.1","description":"This module is a set of utilities for testing other **strong-pubsub** modules.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"chai":"^2.1.0","debug":"^2.1.3","lodash":"^3.3.1"}},"0.2.0":{"name":"strong-pubsub-test","version":"0.2.0","author":{"name":"Ritchie Martori"},"license":{"url":"https://github.com/strongloop/strong-pubsub-test/blob/master/LICENSE","name":"Dual MIT/StrongLoop"},"_id":"strong-pubsub-test@0.2.0","maintainers":[{"name":"ritch","email":"skawful@gmail.com"}],"dist":{"shasum":"8b239fd8d7bdef9b1b395729c96ede45379245fa","tarball":"https://registry.npmjs.org/strong-pubsub-test/-/strong-pubsub-test-0.2.0.tgz","integrity":"sha512-WB7Q6LHPI6GZ7SFizdUH6kzQDuKBOqmCZJqSwyZcudeS6s7R8yPgWm+fTLq5jGYl3VpyeMZ5FOAVNmn+WHoi7w==","signatures":[{"sig":"MEYCIQDe/yofIkmoj7GfVnA4x9xSB98Bf1lHqu2PFkKE1X0FdwIhAPJVt5NRbQ8bn1Q7JtOoIBpGGMmYXxjK+5C7XX0soes0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"8b239fd8d7bdef9b1b395729c96ede45379245fa","gitHead":"312ac1d494482dcbdea52015aac2ed9caca20405","scripts":{},"_npmUser":{"name":"ritch","email":"skawful@gmail.com"},"_npmVersion":"2.5.1","description":"This module is a set of utilities for testing other **strong-pubsub** modules.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"chai":"^2.1.0","debug":"^2.1.3","lodash":"^3.3.1"}},"0.2.1":{"name":"strong-pubsub-test","version":"0.2.1","author":{"name":"Ritchie Martori"},"license":"MIT","_id":"strong-pubsub-test@0.2.1","maintainers":[{"name":"bajtos","email":"mbajtoss@gmail.com"},{"name":"chandadharap","email":"chanda_dharap@yahoo.com"},{"name":"ibmcloud-admin","email":"rmg@ca.ibm.com"},{"name":"kraman","email":"kraman@gmail.com"},{"name":"octet","email":"vieuxtech@gmail.com"},{"name":"rfeng","email":"enjoyjava@gmail.com"},{"name":"ritch","email":"skawful@gmail.com"},{"name":"rmg","email":"r.m.graham@gmail.com"},{"name":"strongloop","email":"strngops@us.ibm.com"}],"dist":{"shasum":"ccfb0e8fecfe6f2b022841689f80fe7a6da35a35","tarball":"https://registry.npmjs.org/strong-pubsub-test/-/strong-pubsub-test-0.2.1.tgz","integrity":"sha512-7BzhRX3xqYAZxRT1jy4rjgh66pnHCrN4IxAW2PE3WDFq8I7PYF/5nDgyNmkRJP/RnzqnueDUex41/QhhRBx30A==","signatures":[{"sig":"MEUCICc/+PtsClYx5hNKhgk6rtsmNvPGSPl2Ha1lEXH+uFBCAiEAkOXAta/ZQx87xXMgaAUKrtba5JysoNI+0RvuB770W4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"ccfb0e8fecfe6f2b022841689f80fe7a6da35a35","gitHead":"c03bdba7365bec803b03a9cb4fb3e4210b588564","scripts":{"test":"mocha"},"_npmUser":{"name":"rmg","email":"r.m.graham@gmail.com"},"_npmVersion":"3.8.8","description":"This module is a set of utilities for testing other **strong-pubsub** modules.","directories":{},"_nodeVersion":"4.4.3","dependencies":{"chai":"^2.1.0","debug":"^2.1.3","lodash":"^3.3.1"},"devDependencies":{"mocha":"^2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/strong-pubsub-test-0.2.1.tgz_1462574408246_0.6480790148489177","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2015-03-31T23:56:44.429Z","modified":"2026-04-14T15:10:56.467Z","0.1.0":"2015-03-31T23:56:44.429Z","0.2.0":"2015-04-27T18:45:12.039Z","0.2.1":"2016-05-06T22:40:08.766Z"},"author":{"name":"Ritchie Martori"},"license":"MIT","description":"This module is a set of utilities for testing other **strong-pubsub** modules.","maintainers":[{"email":"enjoyjava@gmail.com","name":"rfeng"},{"email":"r.m.graham@gmail.com","name":"rmg"},{"email":"dianahmlau@gmail.com","name":"dhmlau"},{"email":"jgorzinski@gmail.com","name":"theprez"}],"readme":"# strong-pubsub-test\n\nThis module is a set of utilities for testing other **strong-pubsub** modules.\n\n**Testing a Client Adapter API**\n\n```js\nvar helpers = require('strong-pubsub-test');\nvar getPort = helpers.getFreePort;\nvar defineClientTests = helpers.defineClientTests;\n\n// this example uses mosquitto, use your own broker\nvar usingMosquitto = helpers.usingMosquitto;\n\ndescribe('MQTT', function () {\n  beforeEach(function(done) {\n    var test = this;\n    usingMosquitto(function(err, port) {\n      // test.port is required by client tests\n      test.port = port;\n      done(err);\n    });\n  });\n\n  defineClientTests(Client, Adapter);\n});\n```\n\n**Testing a Client Adapter Behavior**\n\n```js\nvar helpers = require('strong-pubsub-test');\nvar defineClientBehaviorTests = helpers.defineClientBehaviorTests;\n\n// this example uses mosquitto, use your own broker\nvar usingMosquitto = helpers.usingMosquitto;\n\nbeforeEach(function(done) {\n  var test = this;\n  usingMosquitto(function(err, port) {\n    // required by the behavior tests\n    test.port = port;\n    done(err);\n  });\n});\n\ndefineClientBehaviorTests(Client, Adapter);\n```\n","readmeFilename":"README.md"}