1.0.1 • Published 7 years ago

run-tests-py v1.0.1

Weekly downloads
1
License
GPL-2.0
Repository
-
Last release
7 years ago

run-tests-py

run-tests-py is the test runner used by the Mercurial project, extracted as an NPM module.

The test runner is designed to easily test CLI tools. See https://www.mercurial-scm.org/wiki/WritingTests.

Usage

See https://www.mercurial-scm.org/wiki/WritingTests for details on how to write tests. To install this package, and use it for your own tests, do:

$ npm install -D run-tests-py
$ python ./node_modules/.bin/run-tests.py

To avoid building hg, use:

$ python ./node_modules/.bin/run-tests.py --with-hg=/usr/bin/true

Third-Party Notices

run-tests.py and killdaemons.py are from the Mercurial project. Their license in included in THIRD-PARTY-NOTICES.