How do you reproduce bugs that occur sporadically?

前端 未结 28 1242
离开以前
离开以前 2021-01-30 19:43

We have a bug in our application that does not occur every time and therefore we don\'t know its \"logic\". I don\'t even get it reproduced in 100 times today.

Disclaime

28条回答
  •  余生分开走
    2021-01-30 20:12

    Try to add code in your app to trace the bug automatically once it happens (or even alert you via mail / SMS)

    log whatever you can so when it happens you can catch the right system state.

    Another thing- try applying automated testing that can cover more territory than human based testing in a formed manner.. it's a long shot, but a good practice in general.

提交回复
热议问题