@ggolfz/tcgen

1.3.0 • Public • Published

Test case Generator

CLI Usage

Install

npm install -g @ggolfz/tcgen

Usage without Installation

npx @ggolfz/tcgen generate [template]

Usage

tcgen [template]

Parameter

-n, --num [number]: Number of Testcase (Optional: Default is 1)

-s, --source [source]: Source of Template File (Optional)

-e, --extension [extension]: File Extension (Optional: Default is 'in')

Template

Input Lines split by \n and each inputs split by space

Input Format : <type;condition1;condition2;...>

String Input Format : <string;minLength;maxLength> [minLength and maxLength are optional]

Integer Input Format : <integer;minValue;maxValue> [minValue and maxValue are optional]

Floating Input Format : <float;minValue;maxValue;digits> [minValue, maxValue, digits are optional]

Regex Input Format : <regex;value>

Readme

Keywords

none

Package Sidebar

Install

npm i @ggolfz/tcgen

Weekly Downloads

20

Version

1.3.0

License

MIT

Unpacked Size

26.3 kB

Total Files

16

Last publish

Collaborators

  • ggolfz