Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rule_stats #17

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
317 changes: 166 additions & 151 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,152 +1,167 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha json_objects tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/json_objects.test.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha pools tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/pools.test.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "process private files",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/outside_files.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud config tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/devCloud_config.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud ucs tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/devCloud_ucs.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud ALL config tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/private/devCloud_ALL_bigip.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha unPacker tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/unPacker.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha tmosParser.tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/tmosParser.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha All",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/ALL.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
}
]
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Mocha json_objects tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/json_objects.test.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha pools tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/pools.test.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "process private files",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/outside_files.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud config tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/devCloud_config.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud ucs tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/devCloud_ucs.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha devCloud ALL config tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/private/devCloud_ALL_bigip.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha unPacker tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/unPacker.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha tmosParser.tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/tmosParser.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha All",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/ALL.tests.ts",
],
"internalConsoleOptions": "neverOpen",
"protocol": "inspector",
},
{
"type": "node",
"request": "launch",
"name": "Mocha rule_stats tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/src/tests/rule_stats.tests.ts",
],
},
]
}
9 changes: 9 additions & 0 deletions dist/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cli.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/rule_stats.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function parseRule(cmdout: string): string;
Loading