-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add testing the artifact graph when there's an execution error (#…
…5154) * Add testing the artifact graph snapshots when there's an execution error * Update output to check artifact graph in error cases * Rename helper function to be clearer * Add test that has meaningful output, followed by an error
- Loading branch information
Showing
78 changed files
with
1,899 additions
and
41 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
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/argument_error/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart argument_error.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/argument_error/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/argument_error/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map argument_error.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/argument_error/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_pop_empty_fail/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart array_elem_pop_empty_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/array_elem_pop_empty_fail/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_pop_empty_fail/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map array_elem_pop_empty_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/array_elem_pop_empty_fail/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_pop_fail/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart array_elem_pop_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/array_elem_pop_fail/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_pop_fail/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map array_elem_pop_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/array_elem_pop_fail/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_push_fail/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart array_elem_push_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/array_elem_push_fail/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_elem_push_fail/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map array_elem_push_fail.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/array_elem_push_fail/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_index_oob/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart array_index_oob.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/array_index_oob/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/array_index_oob/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map array_index_oob.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/array_index_oob/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/comparisons_multiple/artifact_graph_flowchart.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph flowchart comparisons_multiple.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
3 changes: 3 additions & 0 deletions
3
src/wasm-lib/kcl/tests/comparisons_multiple/artifact_graph_flowchart.snap.md
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,3 @@ | ||
```mermaid | ||
flowchart LR | ||
``` |
6 changes: 6 additions & 0 deletions
6
src/wasm-lib/kcl/tests/comparisons_multiple/artifact_graph_mind_map.snap
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,6 @@ | ||
--- | ||
source: kcl/src/simulation_tests.rs | ||
description: Artifact graph mind map comparisons_multiple.kcl | ||
extension: md | ||
snapshot_kind: binary | ||
--- |
4 changes: 4 additions & 0 deletions
4
src/wasm-lib/kcl/tests/comparisons_multiple/artifact_graph_mind_map.snap.md
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,4 @@ | ||
```mermaid | ||
mindmap | ||
root | ||
``` |
Oops, something went wrong.