sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
821 stars 103 forks source link

How to find out test coverage #147

Open cyb-rahul-pawar opened 6 years ago

cyb-rahul-pawar commented 6 years ago

Is there a way we can get the code coverage using this tool? I tried goreporter to get the coverage but it has reported zero percentage coverage against my project. Please suggest.

sclevine commented 6 years ago

Are you testing your application by compiling it, launching it, and running the WebDriver against the separately running process? If so, I don't think it's possible to generate coverage reports, because there is no way to introspect on the separate process that's running your app.