Merge pull request #110 from evanw/julien-f-improve-readme-tests

Minor changes README#Tests.
This commit is contained in:
Julien Fontanet 2015-10-23 17:12:41 +02:00
commit aeec1057ce
2 changed files with 7 additions and 3 deletions

View File

@ -228,8 +228,10 @@ Error: this is a demo
This repo contains both automated tests for node and manual tests for the browser. The automated tests can be run using mocha (type `mocha` in the root directory). To run the manual tests:
* Build the tests using `build.js`
* Visit `amd-test`, `browser-test`, and `browserify-test` using the HTTP protocol (`python -m SimpleHTTPServer` can be used on OS X)
* The test `browserify-test` currently isn't working due to a bug with browserify. See pull request #66 for details.
* Launch the HTTP server (`npm run serve-tests`) and visit
* http://127.0.0.1:1336/amd-test
* http://127.0.0.1:1336/browser-test
* http://127.0.0.1:1336/browserify-test - **Currently not working** due to a bug with browserify (see [pull request #66](https://github.com/evanw/node-source-map-support/pull/66) for details).
* For `header-test`, run `server.js` inside that directory and visit http://127.0.0.1:1337/
## License

View File

@ -5,14 +5,16 @@
"main": "./source-map-support.js",
"scripts": {
"build": "node build.js",
"serve-tests": "http-server -p 1336",
"test": "mocha"
},
"dependencies": {
"source-map": "0.1.32"
},
"devDependencies": {
"coffee-script": "1.7.1",
"browserify": "3.44.2",
"coffee-script": "1.7.1",
"http-server": "^0.8.5",
"mocha": "1.18.2"
},
"repository": {