Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | 1x 1x | "use strict";
/**
* `Glace testgen` plugin help.
*
* @function
*/
module.exports = (args, d) => {
return args
.options({
"gen-steps-filter <chunk>": {
describe: d("Chunk of step name to filter tests."),
type: "string",
group: "Test-gen:",
},
"gen-steps-uniq [number]": {
describe: d("Number of steps in unique sequence to filter tests.",
"Default is unlimited."),
type: "number",
group: "Test-gen:",
},
"gen-steps-limit [number]": {
describe: d("Maximum amount of steps per test.",
"Default is unlimited."),
type: "number",
group: "Test-gen:",
},
"gen-names-only": {
describe: d("Flag to print only step names."),
type: "boolean",
group: "Test-gen:",
},
"gen-steps-usage <number>": {
describe: d("Number of steps usage in test case."),
type: "number",
group: "Test-gen:",
},
"gen-steps-files <sequence>": {
describe: d("Space-separated sequence of paths to steps file (yaml or json format).",
"As alternate to specify path to steps file in plugin mode."),
type: "string",
group: "Test-gen:",
},
"gen-tests-files <sequence>": {
describe: d("Space-separated sequence of paths to files with",
"pregenerated tests (yaml or json format)."),
type: "string",
group: "Test-gen:",
},
"gen-tests-limit [number]": {
describe: d("Maximum amount of generated tests per iteration.",
"Default is 1000000."),
type: "number",
group: "Test-gen:",
},
"gen-tests-max <number>": {
describe: d("Maximum amount of final tests."),
type: "number",
group: "Test-gen:",
},
"gen-tests-reverse": {
describe: d("Reverse order of final tests."),
type: "boolean",
group: "Test-gen:",
},
"gen-tests-only": {
describe: d("Flag to exclude other found tests and launch",
"only generated tests in plugin mode."),
type: "boolean",
group: "Test-gen:",
},
"gen-tests-shuffle": {
describe: d("Shuffle tests during generating.",
"Provides more steps sequence randomization,",
"but tests will be different in generating runs."),
type: "boolean",
group: "Test-gen:",
},
"gen-load-train <path>": {
describe: d("Path to file with pretrained model,",
"which will be loaded before generating."),
type: "string",
group: "Test-gen:",
},
"gen-train-before <path>": {
describe: d("Path to file with tests for training before generating."),
type: "string",
group: "Test-gen:",
},
});
};
|