-
Match Path Command
forge test --match-path 'test/hash/*'
-
Match file name And
forge test --match-contract ComplicatedContractTest --match-test testDeposit
-
Console.log, log info
forge test --match-path 'test/cheatcode/*' -vvvv
reference 1. https://www.rareskills.io/post/foundry-testing-solidity