Coverage of UI tests (Selenium, ASP.NET Core) #136
-
I'd like to collect coverage data for Selenium UI tests of an ASP.NET Core web app. The tests are executed with It seems to me that is does with the Instrument now, test later, collect coverage after that mode. In my understanding, instrumented apps can then be executed in any way. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that would be the way to do it -- and is in fact how the simple |
Beta Was this translation helpful? Give feedback.
Yes, that would be the way to do it -- and is in fact how the simple
dotnet test
integration for unit tests already works under the covers, by executing a Prepare step ahead of invoking the VsTest step for test execution, and a Collect step after, using the MSBuild tasks exposed by the AltCover.Engine assembly.