Skip to main content

Installation

Downloading and running Doc Detective is straightforward. Follow these steps to install Doc Detective and run your first test:

  1. Install prerequisites:

  2. In a terminal, install Doc Detective globally:

    npm i -g doc-detective
  3. Run a test:

    npx doc-detective runTests --input https://doc-detective.com/sample.spec.json

Congratulations! You've run your first test with Doc Detective.

Next steps