Unit Testing a Website

前端 未结 7 1131
不知归路
不知归路 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:49

    For actual unit testing without testing the UI, you should just test the functions in the model. Most of your functionality should be in there anyways.

    You might want to have a look at Selenium for testing the UI of your site. It can record your actions and play them back, or you can edit the scripting directly.
    (source: seleniumhq.org)

提交回复
热议问题