ethereum / fe

Emerging smart contract language for the Ethereum blockchain.
https://fe-lang.org
Other
1.6k stars 179 forks source link

Allow filtering tests when running fe test #919

Closed cburgdorf closed 1 year ago

cburgdorf commented 1 year ago

What was wrong?

There's currently no way to restrict fe test to only run a subset of tests

How was it fixed?

Added a --filter <some-filter> option to allow filtering the tests. I initially had it as a separate optional input (e.g. fe filter . ) but that means people have to specify the directory manually which can be annoying when hopping between different directories.