From: Mark Stosberg Date: Tue, 13 May 2014 02:30:58 +0000 (-0400) Subject: docs: Update docs on TEST single test run. X-Git-Tag: upstream/0.12.0~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a6c36dc3707212a83e44bdc01a09cf122a8e809;p=platform%2Fupstream%2Fnodejs.git docs: Update docs on TEST single test run. The Contributing docs now clarify how to run a single test. Signed-off-by: Fedor Indutny --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 218217e..b769073 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -118,6 +118,19 @@ $ make jslint test Make sure the linter is happy and that all tests pass. Please, do not submit patches that fail either check. +If you are updating tests and just want to run a single test to check it, you +can use this syntax to run it exactly as the test harness would: + +``` +python tools/test.py -v --mode=release simple/test-stream2-transform +``` + +You can run tests directly with node: + +``` +node ./test/simple/test-streams2-transform.js +``` + ### PUSH