Installation
Downloading and running Doc Detective is straightforward. Follow these steps to install Doc Detective and run your first test:
-
Install prerequisites:
- Node.js v18 or later
-
In a terminal, install Doc Detective globally:
Terminal window npm i -g doc-detectiveNote: If you’re working in a local copy of the
doc-detectiverepository, you need to runnpm ito install local dependencies. -
Run a test:
Terminal window npx doc-detective runTests --input https://doc-detective.com/sample.spec.json
Congratulations! You’ve run your first test with Doc Detective.