The wpt-xhr.cmd command line interface test module.
- Version:
- 1.0.0
- Source:
Members
(inner, constant) __filename
Emulate commonJS __filename and __dirname constants
- Source:
(inner, constant) srcFile
Prepare test environment
- Source:
Methods
(inner) Main()
The application entry point function
- Source:
(inner) defRunner()
Carry out the loaded tests using this developed test runner
- Source:
(inner) getCmdOutput(cmdObj) → {array}
Run the tested and reference command
Parameters:
Name | Type | Description |
---|---|---|
cmdObj |
object | The command object |
- Source:
Returns:
Output of the tested command
- Type
- array
(inner) loadTestData()
Load test data
- Source:
(async, inner) makeTest(cmdObj)
Carry out a single tset
Parameters:
Name | Type | Description |
---|---|---|
cmdObj |
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: