crytic / crytic/echidna

feat: remove different testing modes

Open
#941 9 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue usability
Dominant language
Haskell
Stars
3.2k
Forks
432
Avg merge
1d 20h
Merged PRs (30d)
5

Description

I've seen a few users getting confused as to why echidna is telling them that there are no tests to be found. It's usually the case that they did not include `--test-mode assertion`.

Suggestion:
Remove different testing modes. Assertion mode should be the default. The normal mode (where functions with signature "echidna*() returns (bool)" are being used can just be included, i.e. if Echidna finds functions that meet that requirement, use the normal mode on those. Optimization mode could be done automatically for functions that return a comparable value (uint, int), i.e. "echidna*() returns (uint)". This might remove some of the friction for onboarding new users.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.