disintar / toncli

TON Command Line Interface - easy smart contract manipulation
https://disintar.io/
Apache License 2.0
166 stars 34 forks source link

Run tests only if tests specified. #62

Closed Trinketer22 closed 1 year ago

Trinketer22 commented 2 years ago

If you have 2 projects and only one has defined tests then TestRunner is going to atempt to run [project_name]_tests.fif even if non generated. Firt exception is going to be thrown. So i think the best solution is just to not enter test processing loop if there are no tests.

PS:It's possible to evade exception if you specify --contracts manually but i feel like it's not really the way to do it.

tvorogme commented 2 years ago

Thanks. I'll double-check it.

tvorogme commented 1 year ago

LGTM