Commit e7dedcd
authored
Introduce Test Scenarios for WASM (#182)
## Purpose
<!-- Describe the intention of the changes being proposed. What problem
does it solve or functionality does it add? -->
Introduce various test scenarios for CLI Test Runner and VSCode
Extension Test Explorer.
See samples/wasm/tests/README.md for more details
## Does this introduce a breaking change?
<!-- Mark one with an "x". -->
```
[ ] Yes
[x] No
```
## Pull Request Type
<!-- Please check the one that applies to this PR using "x". -->
```
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:
```
## How to Test
See samples/wasm/tests/README.md
```
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
```
* Test the code
<!-- Add steps to run the tests suite and/or manually test -->
```
```
## What to Check
Verify that the following are valid
For CLI see:
https://github.com/Azure/vscode-tinykube/tree/main/cli#test-workflow
Run the command against each scenario
For VSCode Extension:
- Open ~/explore-iot-operations/wasm as a VSCode workspace
- Go to "Test Explorer" tab and run each test scenario
## Other Information
For more info see: https://github.com/Azure/vscode-tinykube/tree/main1 parent 5fdff68 commit e7dedcd
32 files changed
Lines changed: 175 additions & 0 deletions
File tree
- samples/wasm
- tests
- t01-simple-temp-conversion
- expected
- input
- t02-complex-temp-pipeline
- expected
- input
- t03-complex-full-pipeline
- expected
- input
- t04-opc-ua-basic-flatten
- expected
- input
- t05-opc-ua-missing-fields
- expected
- input
- t06-opc-ua-multi-tag
- expected
- input
- t08-schema-valid
- expected
- input
- t09-schema-invalid
- expected
- input
- t10-schema-mixed
- expected
- t11-statestore-enrichment
- expected
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Binary file not shown.
0 commit comments