开发者

Documents for a Website tester?

I'm a Website tester. I don't know how to write some test tools. I'm looking for some documents which teach how to write test tools: automated test, JavaScript test, PHP test, Unit开发者_如何学C Test.... If there is any example, please show me.

Thanks you.


Your question is very vague; are you looking for examples of unit/automated/test tools written in these languages?

Here are some automation resources that I think would help you clarify your question a bit.

  • Selenium is a toolkit that will allow you to write DOM-rich automated tests and run them within a variety of browsers. There are wrappers for selensese (the language that interacts with the running DOM during tests) in a variety of languages. My organization uses Selenium-RC along with PHPUnit to write Selenium test cases for our web application.

  • Watir is a ruby-based framework that allows testing similar in nature to selenium. The tests are written in ruby, but the test coverage that they add is over Javascript, rendered PHP; the tests are automated.

Each of these systems provides what I would consider to be integration tests. Selenium has been implemented in PHP by PHPUnit, so you have everything available to you in these test cases that you would have in a unit test. The difference is purely semantic. You're testing functionality of the site, rather than the ability of a small unit of the code to respond to something specific.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜