@dotcom-tool-kit/n-test

4.0.2 • Public • Published

@dotcom-tool-kit/n-test

A plugin to run smoke tests as part of your CircleCI workflow using the n-test package.

Installation

With Tool Kit already set up, install this plugin as a dev dependency:

npm install --save-dev @dotcom-tool-kit/n-test

And add it to your repo's .toolkitrc.yml:

plugins:
    - '@dotcom-tool-kit/n-test'

Tasks

NTest

Run n-test smoke tests against your application.

Task options

Property Description Type
browsers Selenium browsers to run the test against Array<string>
host Set the hostname to use for all tests. If running in an environment such as a review or staging app build that has Tool Kit state with a URL for an app to run against, that will override this option. string
config Path to config file used to test string
interactive Interactively choose which tests to run boolean
header Request headers to be sent with every request Record<string, string>

All properties are optional.

Readme

Keywords

none

Package Sidebar

Install

npm i @dotcom-tool-kit/n-test

Weekly Downloads

500

Version

4.0.2

License

ISC

Unpacked Size

5.52 kB

Total Files

6

Last publish

Collaborators

  • robertboulton
  • quarterto
  • the-ft