Skip to content

Commit 08aaac6

Browse files
committed
format
1 parent 8e329dc commit 08aaac6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

program-analysis/echidna/basic/testing-modes.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,11 @@ Use dapptest mode if you are testing stateless invariants and the code will neve
160160
## Other testing modes
161161

162162
Echidna allows other testing mode, which are less frecuently used:
163-
* `overflow` mode: this mode is similar to `assertion` but it will only catch integer overflow (so no need to define any function with assertions). **It only works in solc 0.8.x or greater, for code outside `unchecked` blocks**.
164-
* `optimization` mode: this mode allows to maximize the value returned by a function. It is explained in detail in [its own tutorial](../advanced/optimization_mode.md).
165-
* `exploration` mode: this mode will not use any kind of invariants to check, allowing Echidna to collect coverage.
166-
163+
164+
- `overflow` mode: this mode is similar to `assertion` but it will only catch integer overflow (so no need to define any function with assertions). **It only works in solc 0.8.x or greater, for code outside `unchecked` blocks**.
165+
- `optimization` mode: this mode allows to maximize the value returned by a function. It is explained in detail in [its own tutorial](../advanced/optimization_mode.md).
166+
- `exploration` mode: this mode will not use any kind of invariants to check, allowing Echidna to collect coverage.
167+
167168
## Stateless vs. Stateful
168169

169170
Any of these testing modes can be used, in either stateful (by default) or stateless mode (using `--seqLen 1`). In stateful mode, Echidna will maintain the state between each function call and attempt to break the invariants. In stateless mode, Echidna will discard state changes during fuzzing. There are notable differences between these two modes.

0 commit comments

Comments
 (0)