{"_id":"@buxlabs/testgen","_rev":"9-6e1970162ecced574eaafceda9192e8c","name":"@buxlabs/testgen","description":"js test generator based on static code analysis","dist-tags":{"latest":"0.3.2"},"versions":{"0.2.4":{"name":"@buxlabs/testgen","version":"0.2.4","description":"js test generator based on static code analysis","bin":{"testgen":"./bin/testgen.js"},"main":"./lib/api.js","scripts":{"test":"tape test/**/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/emilos/testgen.git"},"author":{"name":"Emil Ajdyna"},"license":"MIT","bugs":{"url":"https://github.com/emilos/testgen/issues"},"homepage":"https://github.com/emilos/testgen#readme","devDependencies":{"shelljs":"^0.5.3","sinon":"^1.17.2","tape":"^4.4.0"},"dependencies":{"concat-stream":"^1.5.1","escodegen":"^1.8.0","espree":"^2.2.5","esquery":"^0.4.0","underscore":"^1.8.3","underscore.string":"^3.2.3"},"gitHead":"a2c849952ada27a3641a0221b34b1ea587f9a87b","_id":"@buxlabs/testgen@0.2.4","_shasum":"b89668ea80fcb01b36df0bc3078d07e4ce732676","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"b89668ea80fcb01b36df0bc3078d07e4ce732676","tarball":"https://registry.npmjs.org/@buxlabs/testgen/-/testgen-0.2.4.tgz","integrity":"sha512-v4u/fVPwNffSYHafeO45qRI1tC0BwGv8BK6Qge7Z7obdtaX6F4cZ8ffDJ4SfuAXSIDqv0DsJ0MZGw6idKWCUqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCraN74lPM0Ch3UWqNY5OKcORoFWWpkJ0my8q0yjZHKOAIgYjO/e0x3wKK+v4SC1L1JH1TZwU4aenFZByKD+5a4dlY="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/testgen-0.2.4.tgz_1480184388553_0.6544341444969177"},"directories":{}},"0.2.6":{"name":"@buxlabs/testgen","version":"0.2.6","description":"js test generator based on static code analysis","bin":{"testgen":"./bin/testgen.js"},"main":"./lib/api.js","scripts":{"test":"ava \"test/spec/**/*.js\""},"engines":{"node":">=6.9.1"},"repository":{"type":"git","url":"git+https://github.com/emilos/testgen.git"},"author":{"name":"Emil Ajdyna"},"license":"MIT","bugs":{"url":"https://github.com/emilos/testgen/issues"},"homepage":"https://github.com/emilos/testgen#readme","devDependencies":{"ava":"^0.17.0","shelljs":"^0.7.5"},"dependencies":{"concat-stream":"^1.5.1","escodegen":"^1.8.0","espree":"^3.3.2","esquery":"^0.4.0","minimist":"^1.2.0","underscore":"^1.8.3","underscore.string":"^3.2.3"},"gitHead":"1844afc04b753041b473a7781fade114166c7eaa","_id":"@buxlabs/testgen@0.2.6","_shasum":"8320fe1b60e16532f1f84359d6d0e7cede2c19ea","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"8320fe1b60e16532f1f84359d6d0e7cede2c19ea","tarball":"https://registry.npmjs.org/@buxlabs/testgen/-/testgen-0.2.6.tgz","integrity":"sha512-paZV4TGUr6/LAIJ7XNBUN4YZx3cyhV1UF8f2uHuojHzuhpDrfr0HIqRrRkncspIqunEvNceBzsMguEA7HtMbOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ5RIqQ2R+PoHs8uCFXugeDcukOje20pto95RFQFYEuQIgZVRxJdjEpOoXP7buCci6ej8eux8AcbqpPio1k6t8L5Y="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/testgen-0.2.6.tgz_1480440798649_0.8057246326934546"},"directories":{}},"0.3.0":{"name":"@buxlabs/testgen","version":"0.3.0","description":"js test generator based on static code analysis","bin":{"testgen":"./bin/testgen.js"},"main":"./lib/api.js","scripts":{"test":"ava \"test/spec/**/*.js\"","coverage":"nyc npm test"},"engines":{"node":">=6.9.1"},"repository":{"type":"git","url":"git+https://github.com/emilos/testgen.git"},"author":{"name":"Emil Ajdyna"},"license":"MIT","bugs":{"url":"https://github.com/emilos/testgen/issues"},"homepage":"https://github.com/emilos/testgen#readme","devDependencies":{"ava":"0.19.0","nyc":"10.2.0","shelljs":"0.7.5"},"dependencies":{"concat-stream":"1.5.1","escodegen":"1.8.0","espree":"3.3.2","esquery":"1.0.0","minimist":"1.2.0","underscore":"1.8.3","underscore.string":"3.2.3"},"gitHead":"3ab8247a2ce8a836b5849e11b531088fba94cca8","_id":"@buxlabs/testgen@0.3.0","_shasum":"fcce81a14af3f90b086376d0f49e0019009cc224","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"fcce81a14af3f90b086376d0f49e0019009cc224","tarball":"https://registry.npmjs.org/@buxlabs/testgen/-/testgen-0.3.0.tgz","integrity":"sha512-r4KNTrD2JWH90lwukoE+HeEe5Y/iLKeJFnAL+F0B1V0DQiEvQ+yGDP5GIsxHoXY8pkDk02aYHGyYGZXv+zVdcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFm7hSqIG1hSJo/Ez1bt0OrJc0XZvXqUD7z5+Up6J4LAiEAmQta8hlLrFR0wOzN3d4Jno207i3yZgWi+4GBYvVIVdI="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/testgen-0.3.0.tgz_1493123903659_0.08695938903838396"},"directories":{}},"0.3.2":{"name":"@buxlabs/testgen","version":"0.3.2","description":"js test generator based on static code analysis","bin":{"testgen":"./bin/testgen.js"},"main":"./lib/api.js","scripts":{"test":"ava \"test/spec/**/*.js\"","coverage":"nyc npm test"},"engines":{"node":">=6.9.1"},"repository":{"type":"git","url":"git+https://github.com/emilos/testgen.git"},"author":{"name":"Emil Ajdyna"},"license":"MIT","bugs":{"url":"https://github.com/emilos/testgen/issues"},"homepage":"https://github.com/emilos/testgen#readme","devDependencies":{"ava":"0.19.0","nyc":"10.2.0","shelljs":"0.7.5"},"dependencies":{"concat-stream":"1.5.1","escodegen":"1.8.0","espree":"3.3.2","esquery":"1.0.0","minimist":"1.2.0","underscore":"1.8.3","underscore.string":"3.2.3"},"gitHead":"dadf7960be0006d55cfc538ea3724f37080aca95","_id":"@buxlabs/testgen@0.3.2","_shasum":"776a7c2cc0166a5e97dd9d77c142e6d36020bffa","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"buxlabs","email":"emil@ajdyna.com"},"dist":{"shasum":"776a7c2cc0166a5e97dd9d77c142e6d36020bffa","tarball":"https://registry.npmjs.org/@buxlabs/testgen/-/testgen-0.3.2.tgz","integrity":"sha512-WG71OGCvc9rb7y7gZY/nQGzMvhvUuxQZWVoPaLvyob6fY+IQrTwgF0gJcJ8yzwQa2wTyDWhHyOBpckU6na4ynw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgkk9WFBwIdPrfg0byiycm0g9RXIIFbKEUL9XFBWuR1AIgbsP0sDs1fJNHubFqyijoPxDUZp44TDr4IBgOstNZF5w="}]},"maintainers":[{"name":"buxlabs","email":"emil@ajdyna.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/testgen-0.3.2.tgz_1493125714838_0.5313088877592236"},"directories":{}}},"readme":"# testgen\n\n[ ![Codeship Status for buxlabs/testgen](https://app.codeship.com/projects/4f0a8070-9884-0134-f154-2613a2e72cf0/status?branch=master)](https://app.codeship.com/projects/187400)\n\n## Installation\n\n`npm install -g @buxlabs/testgen`\n\n## Idea\n\nUtility tool for generating test skeletons based on static code analysis.\n\nIt might be useful if:\n- you have a code generator and you'd like to add specs by default too,\n- the code you're working on is missing specs (e.g. a big single page app),\n- you'd like to enforce a policy of a spec per file and generate the spec skeleton for conveniance and cohesion\n\nThe lib was created for an AMD API based front-end app with jasmine specs, support for other module definitions will be added gradually, as per current needs. Contibutions are welcome.\n\n## Usage:\n\n`testgen --path=subapp/hello/view/layout.view > subapps/hello/view/layout.view.spec.js`\n\n## Examples:\n\n**in**\n\n```javascript\ndefine([\n    'core/view',\n    'subapp/hello/template/layout'\n], function (View, template) {\n    'use strict';\n\n    return View.extend({\n        template: template\n    });\n\n});\n```\n\n**out**\n\n```javascript\nimport LayoutView from 'subapp/hello/view/layout.view';\n\ndescribe('subapp/hello/view/layout.view', function () {\n    it('should be defined', function () {\n        expect(LayoutView).toBeDefined(); \n    });\n});\n```\n\n## todo\n\n- add: es6\n- add: coverage\n- add: more strict eslint rules\n- add: error handling for cases where we cannot generate a spec\n- add: generate specs for other runners (tap etc.)\n- add: UMD\n- add: CommonJS\n- add: docs\n- add: changelog\n","maintainers":[{"email":"emilajdyna@gmail.com","name":"buxlabs-dev"},{"email":"emil@ajdyna.com","name":"emilos"}],"time":{"modified":"2022-06-12T15:34:40.812Z","created":"2016-11-26T18:19:49.084Z","0.2.4":"2016-11-26T18:19:49.084Z","0.2.6":"2016-11-29T17:33:20.649Z","0.3.0":"2017-04-25T12:38:24.384Z","0.3.2":"2017-04-25T13:08:36.785Z"},"homepage":"https://github.com/emilos/testgen#readme","repository":{"type":"git","url":"git+https://github.com/emilos/testgen.git"},"author":{"name":"Emil Ajdyna"},"bugs":{"url":"https://github.com/emilos/testgen/issues"},"license":"MIT","readmeFilename":"README.md"}