4.11.1 • Published 3 months ago

@suitest/translate v4.11.1

Weekly downloads
1,588
License
MIT
Repository
github
Last release
3 months ago

Suitest test execution results translation

GitHub license npm version CircleCI

This package contains all results that Suitest may return for the test execution and translations for those errors.

Error translations support small subset of Markdown text formatting:

  • Bold text **bold**
  • Code block `code`
  • Hyperlinks [text](url){attribute: 'value'}
  • Images ![caption](src){attribute: 'value'}

Messages are split into following categories:

Using the library

Library provides 2 builds: UMD library is loaded by default when importing @suitest/translate and commonJS is available in case you need to import specific files. E.g. if you would want to get a list of Suitest message code you could import @suitest/translate/commonjs/constants.js.

The UMD build is isomorphic and already minified. It has one peer dependency - "unist-builder". Make sure it's either available is node_modules (when running in NodeJS), or as a global "ub" variable in browser.

CommonJS build is not minified and meant to be used with NodeJS (or with bundler).

Lines and line result translation

@suitest/translate can translate a line (optionally with line result) into a smst format. Then, you can use one of the following libs to convert smst into human readable language:

For a complete demo on library usage check out SuitestAutomation/translate-demo repo.

4.11.1

3 months ago

4.11.0

4 months ago

4.10.0

5 months ago

4.9.0

5 months ago

4.8.0

10 months ago

4.7.1

12 months ago

4.7.0

1 year ago

4.6.1

1 year ago

4.5.0

2 years ago

4.6.0

2 years ago

4.5.1

2 years ago

4.4.4

2 years ago

4.4.1

2 years ago

4.4.3

2 years ago

4.4.2

2 years ago

4.4.0

3 years ago

4.3.3

3 years ago

4.3.2

3 years ago

4.3.1

3 years ago

4.3.0

3 years ago

4.2.5

3 years ago

4.2.4

3 years ago

4.2.3

3 years ago

4.2.2

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

4.1.0

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.2-alpha.0

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-alpha.0

5 years ago