{"_id":"jupyter-js-auto-test","_rev":"28-39d8f08396ce108c63b5ba85ece489ab","name":"jupyter-js-auto-test","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"jupyter-js-auto-test","version":"1.0.0","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.0","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"0c66ebc741ff13eb0438efb35c779252abe531c9","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.0.tgz","integrity":"sha512-zQaeQAw4AMDy+oaj1VxApgf67LEYzmH8Ye2gIh6VhJIsrmya3+TWimjzgb4tYMuj55DeQSG/XguUG5Id0I7hVw==","signatures":[{"sig":"MEUCIQCceF+D0RJHdE4v74P3R5C9QUWATh7mIxWbcwJk1KPziwIgfOT334VWQk1XPwLHxenhbLA1HyWMkWGUCjNSWsVnxN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"0c66ebc741ff13eb0438efb35c779252abe531c9","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.0.tgz_1517871551483_0.22262800810858607","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"jupyter-js-auto-test","version":"1.0.1","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.1","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"05812425f6d981b42ea59212dcb364e8f92aa7bf","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.1.tgz","integrity":"sha512-NWEEL8kZ4vlkbROuBtyrlzxNe1twQBMyrwgGVQ0LEqsDoXxB91kxm3/8ri4O2/0qQeD/t47vd7XDZZA1GRbtiA==","signatures":[{"sig":"MEUCIQCc7YtfZaQYFYq8uKRyTa7DzzgKb9bgm0YPO1EQFxYvkAIgWlKA/SHwGeX7aFuGX3AW6DQ8KKvNg0odlYFb+ogfnhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"05812425f6d981b42ea59212dcb364e8f92aa7bf","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.1.tgz_1517871881785_0.09468419337645173","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"jupyter-js-auto-test","version":"1.0.2","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.2","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"d4f467f3949ec10b3c1e2a717b2e6c990dc62395","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.2.tgz","integrity":"sha512-tf/ogD/R4zOG7IMQmkHCabj8FL9c+jvIb+LejQCy+w2VqmzofEsuFvD/Owgz9icWKQQOGrLBiXKcKEKbqzL9tA==","signatures":[{"sig":"MEUCIQCpC0hisat2Vw5U99pxgfko5oHJ/tiwj9fUkGSx/vabGwIgIEkqzZYSr71Hf87eYGBDGf7Kcv+Zx6mKV3nwEC8YQt4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"d4f467f3949ec10b3c1e2a717b2e6c990dc62395","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.2.tgz_1517872648370_0.12145636323839426","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"jupyter-js-auto-test","version":"1.0.3","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.3","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"6847a7b3edcdf21a40ff4389bb6fd201dcd11662","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.3.tgz","integrity":"sha512-xQzMOjNJ5KG+XXoJk7w+sqSu1Lm+aWTvjVlCx3Vavz5wLAqz4XO0UNn3O91jL/4UOna6Ut1EqJSiMS5wsSIvuw==","signatures":[{"sig":"MEUCIFHbI1adDwA0mafEeZD6ksepL4Y8hU2DmKfe4mXRrpKtAiEAytJ97+hP9v96b7p74+I8uEhNnCDKDEyVDUed2UVfX7c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6847a7b3edcdf21a40ff4389bb6fd201dcd11662","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.3.tgz_1517891616198_0.28623375529423356","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"jupyter-js-auto-test","version":"1.0.4","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.4","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"998f8152ebfc00d20749e7d368647bca9f2ba6f2","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.4.tgz","integrity":"sha512-XTyrs8+4GOClJnfy6FINhkKNhggYAZGBThgjXkuiIIaVOLhPeGz5bgPfFZSGlyyFxpSavKqug5ydSHVzwvuk+Q==","signatures":[{"sig":"MEQCIGLZxnu7+olcHoit4hTa8OPMctrrw3u9zI1R+3ZENbj5AiBo73IVrviv6j6koesIk0Gtt9JD0F1BVGkpdGWihTuX6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"998f8152ebfc00d20749e7d368647bca9f2ba6f2","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.4.tgz_1517892173059_0.169431570218876","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"jupyter-js-auto-test","version":"1.0.5","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.5","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"e4384d102d24d71cacd06b681bee7263a48f37f1","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.5.tgz","integrity":"sha512-OspOaCUsd8C0Vy7A1dUkh7PvHJv/XLGubJZtGtrLieJIG5cZj6LVWiVd5LIAEgWc11h+I46uVFQnCs3xBfEULQ==","signatures":[{"sig":"MEYCIQCmpbEzhmmy1p0eUbur470BzDamd75x7wxnE3F3Z+tF9gIhAM+ZXGpH6A06ZkWcXxJrGmFGB3wu6B2MRLU+BYunBD17","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e4384d102d24d71cacd06b681bee7263a48f37f1","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.5.tgz_1517895237914_0.11545915296301246","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"jupyter-js-auto-test","version":"1.0.6","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.6","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"3c38f69878f60a772976275754224d6b6025e52b","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.6.tgz","integrity":"sha512-LhV/nsmjIiXXz0Of5LGs1Kk/H4UiL9VR0LohqpH1PBxiC/KgxNqR2Ei640f4GDo8PkDFi8iGxgmuAKKN81invg==","signatures":[{"sig":"MEQCIEF6pjG/BDKJ4Hc+SfqBOOR/f4ERW6eEb7M3W7btBEvcAiBTRSHCupQt3T/JGteDtxV3cxhCKDFAiabASpoEU1JxTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3c38f69878f60a772976275754224d6b6025e52b","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"4.6.1","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test-1.0.6.tgz_1517896003984_0.8704969733953476","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"jupyter-js-auto-test","version":"1.0.7","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.0.7","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"94c9f070881e3192422924cebe7996a33892bfda","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.0.7.tgz","fileCount":8,"integrity":"sha512-+Zf9JIZQeiNv6cclqsTGwJagpwd63AMfgPyvYl32Fv+8Pq65KWcr0f5fP/T8ypa0NmQ5f/FQkMucdKDm+CGUrg==","signatures":[{"sig":"MEQCIEJH2dlHzJTJAAtRkzh7kUm4T9hB6KOUY+csQbYi2Ot+AiBoDKrBQCkLtNA5d26i/vCCrN6DgSSG2/LzGWmJlDqOpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18799},"main":"index.js","_from":".","_shasum":"94c9f070881e3192422924cebe7996a33892bfda","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"3.10.8","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test_1.0.7_1519614201451_0.9032871630220536","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"jupyter-js-auto-test","version":"1.1.0","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.1.0","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"9f2e9c0a5c5cfe94e35df31ad4379dbddde5f235","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.1.0.tgz","fileCount":8,"integrity":"sha512-6j9mWteozPtA3+jdKfFaJqWGd42JKg4ChO1lyzESjXVpJptXIxqXsPW64OaK3z1xG4ZWxH8wa1bRB3UqEI0NNA==","signatures":[{"sig":"MEYCIQDzH6X1SCOAziDUxYDGv9vB3nZ7Ph7M2KODihV1spCqCAIhAMroOe5uwvqAHqvGpD8ClAUBPCQpzNCT6v/4nO1pPj97","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbC863CRA9TVsSAnZWagAAsmcQAIvl/5zzh82wpMUI1WnV\nJ1oC1Jbgs7ZSmbeYDYfFGNJ8M8U20DLtCVzqbXcNmcrVAD/mc+F04RCSG4Pf\nRPhExfFgBXqqWKTUI7FGzNfNe9elwgkj58nQ/6swFRm8KyxH4dYM4LBsF+T4\nDpqW7PwAabfrHZmO0HbFrWrMwk+gc3mSYrY++5S7xY4jUfvzENuduAjaQi9c\n1WklFGEUA57vRqB93IUKLAr6xj9R+GWDLDzNkSC45MoySU+mQXS9LqV2s66K\n/Sc39NV16CJZrfn6dYFfVm2mSm5s1RVrLZvAlR/Etr0UYuHRvNyPgjuWt0ek\nTkKQYZDIqhcwmN9cWZ2POCwYj5Qrigbmsb0edWsxKV9WWfX0JbeG3/cyB8l7\nMwcFv8HuTRKSWdQZXXWGOjyFzwLEqKQzR7hu/TRvOJSiVJUZk+GVVcJp5hdz\nz8NSeWo7zUJfPHH2Vnh/ku8S/oK2gz360sZEN8fBQbAge12LDGTAC2JULye+\nqxu1HOj9H3JkvMJRKUw0e8F1H4NSoHVYz6KgdVuuD3SS6Jn/p8cg9OW8jYw9\n4euzQXzgZTFR/e6ARIN9nCyzx4c9B+6TAjxYQGoaCtvdyTc3gyYJ4wN6q9CB\nyRM6S0Z3h5GIt5/lMatrFvbA3Gf7pxzKiKyh8lz+P1IE5B9sqk5f1twIKGOc\nbF1W\r\n=kiBd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"5.6.0","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.11.3","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test_1.1.0_1527500470384_0.45433536206902225","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"jupyter-js-auto-test","version":"1.2.0","keywords":["auto-test"],"author":{"name":"jupyter"},"license":"ISC","_id":"jupyter-js-auto-test@1.2.0","maintainers":[{"name":"jupyter","email":"jupiterli0806@gmail.com"}],"dist":{"shasum":"0d0da6d74ae2447c3cfb9dec6ecab9924859cf1f","tarball":"https://registry.npmjs.org/jupyter-js-auto-test/-/jupyter-js-auto-test-1.2.0.tgz","fileCount":8,"integrity":"sha512-WVJQYjvoHDqx8Cg1NVdik3O1Az5V2jaMwH0isCVTZ87ElmzWX8XTpk/MEnHMU8dd6fDp7YssqRiKWY+rdHQ0lw==","signatures":[{"sig":"MEYCIQC2tH2ILzk+HGbp50X5PB+JTNRrxB1TMhO7TrFr1OY7GQIhAJQ5ZJwLq80K64/wO28dOI8YZ7iCRB5VyaSvf0YtOKnG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDQIDCRA9TVsSAnZWagAArWkP/0zXrMybFUYH7oit4SCi\nrptnc0vlShJNvQ1/NH74WlFN5ExMfO5OiFMD3BONdfEc4yq3ZCm2XqIFI4bL\nVHMFLoWxzP8Cv2tspni2nqdWVjGRasLtOHwKI1PXR4sG2n472WoW5tqyhVyi\nZnQFS3d7ANdUCsx9TDAIxXk0pjmdZip9bpz+GbpjvOUQzl4ohRo4trzrpNP5\nrmqeQ6QDGOj225+VahUmkvWdm7fcbad/uOF49K1DlPV44HgPM/1muZEr+wL7\ngJmKpRLHP21SmcrkIgSEvFfvRSdoNjeyzSl9UqBRksvWCUlpTyDJDfi0uQe0\nkKfw/Ca/LuxnhxbSerXhxHgnyssn6blCCCdtrvo5GoC3XGt6T/rVzgyO3OrY\nVsa7L4MGAu/60muZu9pRnXluDVyZFpYsRxPySHd7927fKalxhua9fcKwKHbV\n2Z38IaoEOal1x/Gg9bgrAq+9l93AdRn+thk43l3dza52wZG7SmnAXQFHCMHX\nvpMN+3DYF0E/aMAqM9PoFHU2QIMrfE1kPlV4TX5Tjv5Dk8gx43UhDT42HgCs\ns7gmVP7q4RNUw2xyYcc4raKoEEHNqOMd1MAVCZFS9crERNnyDFFRfZMvks4a\nhHOrJctlQrM6HDxo6p6vbMqtUsaXcHOL081JPqVxHqs7E1sxORjzXXGoyM0o\nQT9y\r\n=KDCT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"node ./test/"},"_npmUser":{"name":"jupyter","email":"jupiterli0806@gmail.com"},"_npmVersion":"5.6.0","description":"Auto scan files under the directory and run test in them","directories":{},"_nodeVersion":"6.11.3","dependencies":{"chalk":"^2.3.0","bluebird":"^3.5.1","jupyter-parse-commandline-arguments":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/jupyter-js-auto-test_1.2.0_1527579138802_0.8359786656821333","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-02-05T22:59:11.668Z","modified":"2025-03-24T08:48:34.723Z","1.0.0":"2018-02-05T22:59:11.668Z","1.0.1":"2018-02-05T23:04:41.899Z","1.0.2":"2018-02-05T23:17:28.461Z","1.0.3":"2018-02-06T04:33:36.274Z","1.0.4":"2018-02-06T04:42:53.151Z","1.0.5":"2018-02-06T05:33:58.345Z","1.0.6":"2018-02-06T05:46:44.069Z","1.0.7":"2018-02-26T03:03:21.509Z","1.1.0":"2018-05-28T09:41:10.618Z","1.2.0":"2018-05-29T07:32:18.885Z"},"author":{"name":"jupyter"},"license":"ISC","keywords":["auto-test"],"description":"Auto scan files under the directory and run test in them","maintainers":[{"email":"fcollonval@gmail.com","name":"fcollonval"},{"email":"vidartf@gmail.com","name":"vidartf"},{"email":"david.brochart@gmail.com","name":"davidbrochart"},{"email":"jeremy@jtp.io","name":"jtpio"},{"email":"steven.silvester@ieee.org","name":"blink1073"},{"email":"npm@darian.email","name":"darian"},{"email":"ajbozart@us.ibm.com","name":"ajbozarth"},{"email":"zachsailer@gmail.com","name":"zsailer"},{"email":"jupyter-bot@proton.me","name":"jupyter-release-bot"},{"email":"jupyter-server-bot@proton.me","name":"jupyter-server-release-bot"},{"email":"krassowski.michal@gmail.com","name":"krassowski"}],"readme":"# Description\r\nThis project could scan files under the specific directory and run tests in them. The test report could be print to the terminal or pass to the caller via Callback.\r\n\r\nOr you could setup only mode to only run all tests or specific tests a specific file.\r\n\r\n# How to use it\r\nTo run it, you first need to write test. \r\n\r\nYou could write test by yourself or use the test template and config to setup tests. Either way require the test functions to be exported and having a callback function as their parameter which will callback(testResult[, errorMessage]).\r\n\r\nFor example (Write by yourself, it also require chalk.)\r\n```javascript\r\nconst chalk = require('chalk')\r\n\r\nmodule.exports = {\r\n    foo\r\n}\r\n\r\nfunction foo(callback) {\r\n    if (1 + 1 === 2) {\r\n        console.log(chalk.green('Test foo passed'))\r\n        callback(true)\r\n    } else {\r\n        console.log(chalk.red('Test foo failed due to '), 'impossible')\r\n        callback(false, 'error message')\r\n    }\r\n}\r\n```\r\n\r\nOr you could use test template and config, \r\n```javascript\r\nmodule.exports = {\r\n    foo2,\r\n}\r\n\r\nconst { TestFunctionConfig, readConfigAndRun } = require('jupyter-js-auto-test')\r\n\r\n// in most case, this obj should be the object about to test\r\nconst obj = {\r\n    foo2: (callback) => {\r\n        if (1 + 1 === 2) {\r\n            console.log(\"Object run foo2\")\r\n            callback(null)\r\n        } else {\r\n            console.log(\"Object run foo2\")\r\n            callback(\"impossible\")\r\n        }\r\n        \r\n    }\r\n}\r\n\r\nfunction foo2(callback) {\r\n    readConfigAndRun(\r\n        new TestFunctionConfig(obj, 'foo2', [], null),\r\n        callback\r\n    )\r\n}\r\n```\r\n\r\nMore Config examples\r\n```javascript\r\n// having prerunfuncs\r\nnew TestFunctionConfig(\r\n            UserLoyaltyLevels,\r\n            'getLevel',\r\n            [level.LevelID],\r\n            null,\r\n            [new TestFunctionConfig(UserLoyaltyLevels, 'addLevel', [level.LevelID, level], null)]\r\n        )\r\n```\r\n\r\nOnce you have your test functions, you can run it.\r\n```javascript\r\nconst { setAndRun } = require('jupyter-js-auto-test')\r\nsetAndRun('path/to/directory')\r\n```\r\n\r\nIf you have any problems or anything to say, please create an issue at github respo, https://github.com/Jupiter0806/JS_Playground/tree/master/my_node_modules/jupyter-js-auto-test\r\nI will try to reply as soon as possible.","readmeFilename":"readme.md"}