Using metrics for test coverage reporting

Using metrics for test coverage reporting

Imagine you are working on a mobile app project with releases every 2 weeks. Say a manager wants a report on test coverage for each release before they start the release roll out. How might you report on it?

One approach may be to have a checklist or a bunch of test cases documented somewhere and going through it with every release. This is fine for getting started but can become hard to maintain as a project grows.

I’ve worked on many teams with this approach and it always gets to a point where no one wants to mantian these tests or to keep them lean yet useful. No one wants to delete a test that was created 6 months ago even if it’s no longer adding value.

I’ve often used an analytics framework to help with this type of reporting.

For example, say each screen in the app triggers a unique page view event. Say version 1.0 of the app has 20 of these unique page events. As the team is testing version 1.1 of the app they trigger 18 page events you could say 90% of the app has had some test coverage.

Maybe the missing screens are harder to reach features or lower risk, for example an outage message. 90% screen view coverage might be enough for you to go, “no one has observed any new or critical issues with the testing so far, we might be good enough to start rolling out the next release”.

There are some drawbacks to this approach, new features that add more screens might mean that coverage is over 100% compared to the last version. Different user flows that have the same screen names might be missed too.

One benefit is that it can be easy to create custom dashboards depending on the analytics framework you are using. I will often set up a dash board with page views of old version and page views of new version side by side in a table view to help compare the two.

If you’d like to read more here is more related content, checkout these posts:

Metrics and Quality

Bug bashes

Risk based approach

Mobile app test strategy

This blog post is a series on data related topics co written with Uzma who is publishing content over at medium, will update this blog post with her content when she publishes it.

要查看或添加评论,请登录

?? Sam Connelly的更多文章

  • A Mobile App Test Strategy

    A Mobile App Test Strategy

    The superannuation and investment mobile app I’ve been working on over the last 1.5 years is doing well.

    2 条评论
  • Evolution of my CV

    Evolution of my CV

    My CV has evolved a bit over the years. But there have also been a few constants too.

    3 条评论
  • Orders of Communication

    Orders of Communication

    Have you ever wanted to ask a large group of people their thoughts on a particular topic? Maybe you want to know what…

    3 条评论
  • My next Career move

    My next Career move

    I recently asked myself, “where would I like to take my career?”. This is a blog post on that reflection.

  • Back on the job market (again)

    Back on the job market (again)

    It’s only the third time this year I find myself job hunting (again). It was only back in June I found myself going…

    2 条评论
  • Creating your own password algorithm

    Creating your own password algorithm

    It’s pretty common to hear stories of passwords being hacked and it’s still surprisingly common for people to use the…

    6 条评论
  • Why bother testing?

    Why bother testing?

    As a tester, I don't practice selling my craft very often. This blog post is an attempt to put together my thoughts…

    3 条评论

社区洞察

其他会员也浏览了