-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from wcm-io-devops/feature/unittests
Feature/unittests
- Loading branch information
Showing
29 changed files
with
7,885 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ | |
/target | ||
/pippo.json | ||
/public | ||
/test* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,282 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - access-token", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"access-token", | ||
"print" | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - download logs", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"log", | ||
"save", | ||
"--service", | ||
"author", | ||
"--log", | ||
"aemaccess", | ||
"--date", | ||
"2024-10-18" | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - tail logs", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"log", | ||
"tail", | ||
"--service", | ||
"author", | ||
"--log", | ||
"aemaccess" | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - domains list", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"domain", | ||
"list", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - config init", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"domain", | ||
"list", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - env list", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"env", | ||
"list", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - execution list", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"-i", | ||
"000000000", | ||
"pipeline", | ||
"list-executions", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - pipeline list", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"-i", | ||
"000000000", | ||
"pipeline", | ||
"list", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Cargo Debug - program list", | ||
"program": "${workspaceFolder}/target/debug/pippo", | ||
"cargo": { | ||
"args": [ | ||
"build", | ||
] | ||
}, | ||
"args": [ | ||
"-c", | ||
"pippo.json", | ||
"-p", | ||
"00000", | ||
"-e", | ||
"00000", | ||
"-i", | ||
"000000000", | ||
"program", | ||
"list", | ||
], | ||
"cwd": "${workspaceFolder}", | ||
"sourceLanguages": [ | ||
"rust" | ||
], | ||
"preLaunchTask": "cargo build", | ||
"stopOnEntry": false, | ||
"env": {}, | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "cargo build", | ||
"type": "shell", | ||
"command": "cargo", | ||
"args": [ | ||
"build" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": ["$rustc"], | ||
"detail": "Builds the Rust project" | ||
} | ||
] | ||
} |
Oops, something went wrong.