Nuclear Pumpkin Mayhem

    gpc-scenario-outline-numbering
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    gpc-scenario-outline-numbering

    Downloads Version@npm Version@git CI Docs

    This precompiler can add numbering column to Examples tables, and apply formatting to the name of the Scenario Outline.

    Usage

    'use strict';
    const compiler = require('gherking');
    const ScenarioOutlineNumbering = require('gpc-scenario-outline-numbering');
    
    let ast = await compiler.load('./features/src/login.feature');
    ast = compiler.process(
        ast,
        new ScenarioOutlineNumbering({
            // config
        })
    );
    await compiler.save('./features/dist/login.feature', ast, {
        lineBreak: '\r\n'
    });
    'use strict';
    import {load, process, save} from "gherking";
    import ScenarioOutlineNumbering = require("gpc-scenario-outline-numbering");
    
    let ast = await load("./features/src/login.feature");
    ast = process(
        ast,
        new ScenarioOutlineNumbering({
            // config
        })
    );
    await save('./features/dist/login.feature', ast, {
        lineBreak: '\r\n'
    });

    This package uses debug for logging, use gpc:scenario-outline-numbering :

    DEBUG=gpc:scenario-outline-numbering* gherking ...

    For detailed documentation see the TypeDocs documentation.

    Install

    npm i gpc-scenario-outline-numbering

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • monikalaszlo
    • rakur
    • wgula
    • szikszail
    • judit-nahaj
    • sorosz89