- Download:
git clone https://github.com/nodejs/node.git
- Update:
git pull upstream master
- Configure:
./configure
- Compile:
make -j4
- Linter:
make lint
- Prepare:
./configure --coverage
- Build:
make coverage
- Check:
coverage/index.htm
- FULL Tests:
make -j4 test
- Partial tests
- single test file (example test/parallel/test-stream2-transform.js):
python tools/test.py test/parallel/test-stream2-transform.js
- tests for a given subsystem (example child-process):
python tools/test.py -J --mode=release child-process
- More options:
python tools/test.py --help