23 lines
485 B
Markdown
23 lines
485 B
Markdown
Testrunner prerequisites
|
|
========================
|
|
|
|
npm install puppeteer
|
|
|
|
|
|
testrunner.js
|
|
-------------
|
|
start from iwmlib directory with node testrunner
|
|
|
|
defined in package.json
|
|
"testrunner": "node bin/testrunner.js"
|
|
|
|
or in vscode, defined in launch.json like
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "testrunner",
|
|
"program": "${workspaceFolder}\\bin\\testrunner.js"
|
|
}
|
|
|
|
iterates all doctest.html files that are listed in index.html
|
|
create a screenshot of all pages |