Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
/ exported-tests Public archive

Exported Testing architecture for UI testing created by the Watson Health Pattern and Asset Library team

License

Notifications You must be signed in to change notification settings

IBM/exported-tests

Repository files navigation

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.

About

Exported Testing architecture for UI testing created by the Watson Health Pattern and Asset Library team

Resources

License

Stars

Watchers

Forks

Packages

No packages published