网站测试用例示例格式

发布于 2024-09-19 19:47:50 字数 106 浏览 14 评论 0原文

对于Web开发,

您可以发送一些示例测试用例xls报告,

或者有什么好的开源请参考,

有没有免费的PHP Web开发自动化测试,

谢谢

For web development ,

Can u send some sample test case xls report ,

Or is there any good open source plz refer ,

Is there any free automated testing for php web development ,

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

扮仙女 2024-09-26 19:48:20

没有人可以为您的网站提供测试用例,因为每个项目/应用程序/网站都是独一无二的,并且应该有自己独特的测试用例。测试中没有“对”或“错”之分。测试是一门艺术,您应该选择什么以及它对您的效果如何在很大程度上取决于项目与项目的不同以及您的经验。

但作为一名专业的测试专家,我的建议是,将自动测试和手动测试健康地结合起来。

(下面的示例采用 PHP 语言,但您可以轻松找到适合您所使用的语言/框架的正确示例)

自动化测试

手动测试
尽管我很喜欢自动化测试,但恕我直言,它并不能替代手动测试。主要原因是自动化设备只能执行被告知的操作,并且只能验证其被告知的内容以视为通过/失败。人类可以利用其智能来发现错误并提出测试其他事物时出现的问题。

  • 探索性测试
    ET 是一种成本非常低且有效的发现项目缺陷的方法。它利用了人类的智慧,并且比我所知道的任何其他测试技术都更能教会测试人员/开发人员有关该项目的信息。针对测试环境中部署的每个功能进行 ET 会话,不仅是快速发现问题的有效方法,也是一种学习和乐趣的好方法!
    http://www.satisfice.com/articles/et-article.pdf

这个答案(几乎)与我对另一个问题给出的答案相同。查看该问题,因为它还有其他一些可能对您有帮助的好答案。
我们如何决定可以使用哪种测试方法?< /a>

Nobody can give you test cases for your web site since every project/application/website is unique and deserves their own unique test cases. There is no "right" or "wrong" in testing. Testing is an art and what you should choose and how well it works out for you depends a lot from project to project and your experience.

But as a professional Test Expert my suggestion is that you have a healthy mix of automated and manual testing.

(Examples below are in PHP but you can easily find the correct examples for what ever langauge/framework you are using)

AUTOMATED TESTING

MANUAL TESTING
As much as I love automated testing it is, IMHO, not a substitute for manual testing. The main reason being that an automated can only do what it is told and only verify what it has been informed to view as pass/fail. A human can use it's intelligence to find faults and raise questions that appear while testing something else.

  • Exploratory Testing
    ET is a very low cost and effective way to find defects in a project. It take advantage of the intelligence of a human being and a teaches the testers/developers more about the project than any other testing technique i know of. Doing an ET session aimed at every feature deployed in the test environment is not only an effective way to find problems fast, but also a good way to learn and fun!
    http://www.satisfice.com/articles/et-article.pdf

This answer is (almost) identical to one that I gave to another question. Check out that question since it had some other good answers that might help you.
How can we decide which testing method can be used?

浅忆 2024-09-26 19:48:15

PHP 自动化测试工具:

  • phpunit 用于单元测试。
  • Selenium 是一个基于浏览器的自动化测试工具,可以使用任何语言,但包括与 phpunit 一起运行的能力。

Automated testing tools for PHP:

  • phpunit for unit tests.
  • Selenium is a browser-based automated testing tool which can work with any language, but includes the ability to run with phpunit.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文