4.9.0 • Published 5 months ago

@suitest/smst-to-html v4.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

SMST 2 HTML

A library to convert smst to HTML fragment.

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

Usage example:

import {translateTestLineResult} from '@suitest/translate';
import {toHtml} from '@suitest/smst-to-html';

// Fetch data you need to translate, e.g. using Suitest Network API
const testLineDefinition = {/* get line definition somehow */};
const testLineResult = {/* get line definition somehow */};
const appConfig = {/* get app configuration somehow */};

const smst = translateTestLineResult({
    testLine: testLineDefinition,
    lineResult: testLineResult,
    appConfig,
});

const htmlFragmentLine = toHtml(smst);

Output examples

HTML output

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.4.3

2 years ago

4.2.2

3 years ago

4.0.2

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.5

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago