UNPKG

e2e_training_wheels

Version:

A set of helpers to sipmlify acceptance (e2e) testing using Chai, Mocha and Pupeteer. Can also be used for Unit testing. ;-)

49 lines (48 loc) 1.44 kB
{ "name": "e2e_training_wheels", "version": "0.0.36", "description": "A set of helpers to sipmlify acceptance (e2e) testing using Chai, Mocha and Pupeteer. Can also be used for Unit testing. ;-)", "main": "dist/pupeteerHelpers.js", "scripts": { "test": "npm run features && npm run specs", "features": "superstatic src -p 8080 & mocha --timeout 100000 --recursive --reporter=spec features ; PORT=8080 npm run stop-test-server", "specs": "mocha --recursive --reporter=spec spec", "server": "superstatic src -p 3000", "stop-test-server": "lsof -ti tcp:$PORT | xargs kill" }, "author": { "name": "Thomas Ochman", "email": "thomas@craftacademy.se", "url": "https://github.com/tochman" }, "homepage": "https://github.com/tochman/mocha_chai_e2e_testing", "repository": { "type": "git", "url": "https://github.com/tochman/mocha_chai_e2e_testing" }, "keywords": [ "Puppeteer", "E2E", "Chai", "Mocha", "Training", "Acceptance tests", "e2e", "Testing" ], "license": "MIT", "dependencies": { "app-root-path": "^2.1.0", "chai": "^4.2.0", "command-line-args": "^5.0.2", "command-line-usage": "^5.0.5", "growl": "~> 1.10.0", "mocha": "^5.2.0", "puppeteer": "^1.11.0", "superstatic": "^6.0.4" }, "bin": { "training-wheels:generate": "./dist/generators.js", "training-wheels:install": "./dist/install.js" } }