foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.31k stars 1.75k forks source link

`pattern` config options have no effect #3684

Closed ZeroEkkusu closed 3 weeks ago

ZeroEkkusu commented 2 years ago

Component

Forge

Have you ensured that all of these are up to date?

What version of Foundry are you on?

No response

What command(s) is the bug in?

No response

Operating System

No response

Describe the bug

I want to filter out tests with Ffi in the name by default.

Foundry Book lists the following config options, but they have no effect:

Example:

test_pattern_inverse = 'Ffi'

Meanwhile, --no-match-test=Ffi works.

mattsse commented 2 years ago

thanks for reporting, will check.

grandizzy commented 3 weeks ago

book was updated with proper options, e.g. https://book.getfoundry.sh/reference/config/testing#no-match-test Please reopen if you see other inconsistencies, thanks!