exported-tests
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Project Overview

A UI testing architecture for writing tests that is UI framework agnostic so the tests can be written once but used in any UI framework application. The tool contains the parser(s) that convert tests written in a unique format to testing framework-specific structure/functions used by the application (e.g. Mocha, Jest, etc). This architecture was created by the Watson Health Design Pattern & Asset Library team.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

(recommended) Use NVM for managing versions of Node when working on multiple projects.

Installing

We develop using a forking workflow for all users looking to do any work on Exported Tests.

Now that you you have Exported Tests set up locally, navigate to the project using the cd command in the terminal and install dependencies using this command:

yarn

Deployment

We distribute Exported Tests as ES6 and ES5 modules for backward-compatibility support of various testing frameworks. Import the desired module type from the following locations:

  • ES 2015 (ES6) Modules- dist/es/index.js
  • Common JS (ES5) - dist/cjs/index.js
  • Browser compatible (UMD) - dist/umd/index.js

To run the transpiler and generate the previous files use this command:

yarn build

Contribution Guide

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Readme

Keywords

none

Package Sidebar

Install

npm i exported-tests

Weekly Downloads

31

Version

1.1.3

License

Apache-2.0

Unpacked Size

193 kB

Total Files

18

Last publish

Collaborators

  • liz.judd