node package manager


Terra Toolkit

NPM version Build Status

Terra Toolkit is a utility module used to facilitate independent development of Terra projects. This toolkit provides configuration and helpers needed for nightwatch and testing to streamline development of npm packages. terra-core and terra-clinical are two example mono-repos which are utilizing utilities offered in this package.

Getting Started

  • Install with npm: npm install terra-toolkit --save-dev

Terra Toolkit uses docker to setup, run, and tear down selenium to ensure a consistent testing environment locally and in continuous integration build systems. To use Terra Toolkit you must install docker on your machine. Installation instructions can be found at Requires Docker v17.09.0 or higher. Utility is a framework for writing webdriver powered tests to validate functionality in browsers. The framework provides services for setting up a selenium server, starting webpack and static servers, running accessibility and visual regression testing, and more.

See the Utility Developer's Guide to get started.

Nightwatch Utility

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful W3C WebDriver API to perform commands and assertions on DOM elements. Full documentation regarding nightwatch can be found at

See the Nightwatch Utility Developer's Guide to get started.


Terra-toolkit is considered to be stable and will follow SemVer for versioning.

  1. MAJOR versions represent breaking changes
  2. MINOR versions represent added functionality in a backwards-compatible manner
  3. PATCH versions represent backwards-compatible bug fixes

Consult the component CHANGELOGs, related issues, and PRs for more information.


Please read through our contributing guidelines. Included are directions for issue reporting and pull requests.


Copyright 2017 Cerner Innovation, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.