dredd - GradedJestRisk/js-training GitHub Wiki

General

WARNING: dredd does not properly stops server after test,see issue here

Install

Steps:

  • dev npm install dredd --save-dev
  • check if properly installed npx dredd --version
Manual
  • start server
  • run dredd api-description.yml http://127.0.0.1:4000 --details
Automatic
  • configure npx dredd init
  • run dredd

Hello, world

Steps:

  • install it global unsafe in order to test it: sudo npm install -g dredd --unsafe-perm=true --allow-root
⚠️ **GitHub.com Fallback** ⚠️