JoranHonig / vertigo

Mutation Testing for Ethereum Smart Contracts
GNU Lesser General Public License v3.0
203 stars 40 forks source link

Encountered error during test output analysis #34

Open navdeepblock8 opened 3 years ago

navdeepblock8 commented 3 years ago

Vertigo showing this error when run with Hardhat. Can someone help me to solve this issue?

patitonar commented 3 years ago

Having the same issue. I had to first rename hardhat.config.ts to .js because of the error Could not find supported project directory in. But now I'm also facing the error: Encountered an error while running the framework's test command: Encountered error during test output analysis

martincik commented 2 years ago

For me the way to fix this is to remove additional plugins inside Hardhat that are outputting something on the stdout. In my case it was require("hardhat-gas-reporter");. Hope this helps!

BitBravo commented 2 years ago

When I test it using truffle, got the same error. If we use console or logger in the migration scripts, then will get this issues. This is grabbing all logs and trying to convert json format. If there are some additional logs, then will get that issue

bebofit commented 1 year ago

did anyone find a solution for this?