Unit Testing a Website

前端 未结 7 1121
不知归路
不知归路 2021-01-30 09:11

I\'m curious to see how other developers go about testing their web sites. PHP specifically in my case, but this probably spans multiple languages. I\'ve been working on a site

相关标签:
7条回答
  • 2021-01-30 09:58

    We modified Waiter (Ruby). It plays back "scripts" of URLs and Form Filling to IE and we have added a script "command" to take a Screen Capture; the screen capture image is compared against a Known-Good-Image (i.e. a Master Image) and if that image is different it is logged (basically a Web page of such results is prepared) and "a human" does a review of the Master / Test image. Obviously there are two outcomes at that point - "The difference is intentional" or "There is an incorrect change". In the first instance the Master image is replaced with the New Image; in the second we go fix the bug, and the change will be included in the next test run

    0 讨论(0)
提交回复
热议问题