run-tests-py

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i run-tests-py

Weekly Downloads

4

Version

1.0.1

License

GPL-2.0

Unpacked Size

138 kB

Total Files

7

Last publish

Collaborators

  • zertosh