1.1.3 • Published 4 years ago

carbon-shared-tests v1.1.3

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

Project Overview

A test suite of re-usable UI unit tests aligned to the Carbon Design System. Tests focus on user interactions to verify consistent behavior across implementations. The suite is UI and testing framework agnostic using the Exported Tests architecture. This project is a collaboration between teams creating and using Carbon components.

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 Carbon Shared Tests.

Now that you you have Carbon Shared 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 Carbon Shared Tests in multiple formats for increased support of various testing frameworks. Import the desired format 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.

1.1.3

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago