crytic/echidna

feat: remove different testing modes

開放

#941 建立於 2023年2月17日

 (9 則留言) (0 個反應) (0 位負責人)Haskell (434 個分叉)auto 404
enhancementgood first issueusability

倉庫指標

星標
 (3,162 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南