You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commit-id:04335540
---
**Stack**:
- #3612
- #3609 ⬅
⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do
not merge manually using the UI - doing so may have unexpected results.*
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
20
20
- If using a Scarb version before `2.10.0` or not using `allow-prebuild-plugins`, the minimal required rust version to run `snforge` is now `1.87.0`
21
21
22
+
#### Added
23
+
24
+
-`--trace-components` flag to allow selecting which components of the trace to do display. Read more [here](https://foundry-rs.github.io/starknet-foundry/snforge-advanced-features/debugging.html#trace-components)
Copy file name to clipboardExpand all lines: docs/src/appendix/snforge/test.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,30 @@ Passing a test filter will only run tests with
8
8
an [absolute module tree path](https://book.cairo-lang.org/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.html#paths-for-referring-to-an-item-in-the-module-tree)
9
9
containing this filter.
10
10
11
+
## `--trace-verbosity <TRACE_VERBOSITY>`
12
+
13
+
Sets the level of detail shown in execution traces.
14
+
15
+
Valid values:
16
+
17
+
-`minimal`: Only test name, contract name, and selector
18
+
-`standard`: Includes calldata and call result
19
+
-`detailed`: Full trace, including nested calls, caller address, and panic reasons
20
+
21
+
## `--trace-components <TRACE_COMPONENTS>...`
22
+
23
+
Selects specific trace elements to include in the execution flow output.
24
+
25
+
Available components:
26
+
27
+
-`contract-name`
28
+
-`entry-point-type`
29
+
-`calldata`
30
+
-`contract-address`
31
+
-`caller-address`
32
+
-`call-type`
33
+
-`call-result`
34
+
11
35
## `-e`, `--exact`
12
36
13
37
Will only run a test with a name exactly matching the test filter.
0 commit comments