Unit Testing a Website

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

    Have you tried Fitnesse ?

    It helps on creating Acceptance tests. They are specially useful for websites, which doing this kind of tests are a pain.

    There are a couple of videos from unclebob inside the webpage too. The good thing is that Fitnesse is not restricted for website testing, so your knowledge about using it can be used with other apps too.

    The project I'm working on is a Desktop APP written in c++ that uses Fitnesse tests.

    But if you meant unit testing the models (which I think you didn't), they can be create using the phpunit lib. I think the ZEND framework has a similar lib for that.

提交回复
热议问题