How do I check Code Coverage in k6 tests?

Is there any tool that I can use to check code coverage of my k6 tests to the application I’m testing in order to make sure I’m covering all functionality in my application?

Hi @d33psan !

Unfortunately, as far as I know, there is no way to measure the code coverage with the k6.

The k6 knows nothing about your application’s code, which is not essential since k6 is mainly used to test the performance and reliability of APIs, microservices, and websites.

Hope that answers,