TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is there a standard format for logging URL path coverage in web tests?

2 pointsby oaldersover 9 years ago
I&#x27;m trying to establish how well a test suite covers the various URLs on a web site, particularly for a shopping cart. What I&#x27;d like to be able to do is have our continuous integration detect whether coverage for certain flows and URLs increases or decreases as commits are added to a branch.<p>Now, it&#x27;s fairly easy for me to log what&#x27;s happening in the test suite, but the effort will be in writing tools to parse and diff the reports between various runs.<p>So, I&#x27;m wondering if a) there is an existing standard format to log this sort of information and b) standard tools already exist to parse and graph this format.<p>Basically, on my end, I&#x27;d expect to log the URL, HTTP request method, HTTP response code and possibly the keys which are passed via params. I&#x27;ll associate these with the test class which is being run and chain this data together to describe various flows through the site.<p>I&#x27;m not looking for a tool to rewrite the test suite. I don&#x27;t have that amount of time budgeted for this. I&#x27;m mostly looking for an 80&#x2F;20 solution to a better idea of coverage.

no comments

no comments