eth-brownie / brownie

A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
https://eth-brownie.readthedocs.io
MIT License
2.63k stars 549 forks source link

brownie doesnt run only test provided #782

Open RomanHiden opened 3 years ago

RomanHiden commented 3 years ago

Environment information

What was wrong?

in brownie v1.10.5 when running brownie specifying only one test file. brownie will run testing only on that file.

in brownie v1.11.6 when you run brownie test --network fork-mainnet $FILE its running whole test/ folder

iamdefinitelyahuman commented 3 years ago

This definitely needs fixing, but you can get around it in the short term by placing the filename(s) before the flags. brownie test $FILE --network fork-mainet should work as intended.

RomanHiden commented 3 years ago

thanks will use that workaround.