Run Functional Tests

Here is an example of how you might use Tugboat to run functional tests; add a snippet like this to your configuration file.

In this case, the tests are run with CasperJS.

services:
  apache:
    image: tugboatqa/node:8
    commands:
      init:
        - apt-get update
        - apt-get install -y phantomjs
      build:
        - casperjs test app.js