Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 603 Bytes

File metadata and controls

18 lines (13 loc) · 603 Bytes

Testing

Requirements

You will need the following;

  • Docker Desktop
  • Chef-Workstation
    • The dnsimple gem installed into Chef-Workstation with chef gem install dnsimple
  • A DNSimple Sandbox account
    • A test domain created in sandbox set to your environment varible DNSIMPLE_TEST_DOMAIN=domain.com
    • Your sandbox API key saved to DNSIMPLE_ACCESS_TOKEN=token

Running tests

  • run chef exec rake quick for unit and style tests.
  • run chef exec rake kitchen for kitchen tests
  • chef exec rake will run all tests