smart-rocket-unit
TypeScript icon, indicating that this package has built-in type declarations

1.3.5 • Public • Published

smart-rocket-unit

This is common test case library for frontend and backend. We extract common functions for test case data, in order to reduce codes development and increase maintainability.

  • Installation
npm i smart-rocket-unit
  • Usage
import { TestCaseTransformer } from 'smart-rocket-unit';
or
const { TestCaseTransformer } = require('smart-rocket-unit');

const testCaseTransformer = new TestCaseTransformer();
testCaseTransformer.testCaseData = {};
testCaseTransformer.variablesData = {};
testCaseTransformer.typeSystemData = {};
testCaseTransformer.transform();
  • Install dependencies
yarn
  • Development
yarn dev
  • ES6 style packaging
yarn run build:esm
  • CommonJS style packaging
yarn run build:esm
  • ES6 and CommonJS style packaging
yarn run build:umd
  • ES6 and CommonJS style Minimum version packaging
yarn run build:min
  • Publish all kinds of versions, include 'esm', 'cjs', 'umd'
yarn run build

Readme

Keywords

none

Package Sidebar

Install

npm i smart-rocket-unit

Weekly Downloads

4

Version

1.3.5

License

ISC

Unpacked Size

181 kB

Total Files

6

Last publish

Collaborators

  • yaoyinbo
  • liaochengjun