Testing module for the github-user-activity module.
- Version:
- 1.0.0
- Source:
Members
(inner, constant) CMD :string
The tested program command.
Type:
- string
- Source:
(inner, constant) CMD_HELP :string
The tested program command help.
Type:
- string
- Source:
(inner, constant) CMD_VER :string
The tested program command version.
Type:
- string
- Source:
(inner, constant) cacheDir :string
Cache directory.
Type:
- string
- Source:
(inner, constant) cmdOptions :object
Options used when running the tests.
Type:
- object
- Source:
Methods
(inner) Main()
The test module entry point function.
- Source:
(async, inner) defRunner()
Carry out the loaded tests using this developed test runner.
- Source:
(inner) getCmdOutput(cmdObj)
Carry out a single test.
Parameters:
Name | Type | Description |
---|---|---|
cmdObj |
object | The test data object. |
- Source:
(inner) loadTestData()
Load test data.
- Source:
(async, inner) makeTest(obj)
Carry out a single test.
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | The test data object. |
- Source:
(inner) nodeRunner(runner)
Carry out the loaded tests using node test runner.
Parameters:
Name | Type | Description |
---|---|---|
runner |
object | The node core module 'node:test' object. |
- Source: