简体   繁体   English

如何自动测试 Web 应用程序?

[英]How do you automatically test a web application?

I have recently learned how to use python unittest to do automated testing on functions.我最近学习了如何使用 python unittest 对函数进行自动化测试。 But it got me thinking, how do you test the functionality of a web application?但这让我开始思考,如何测试 Web 应用程序的功能? Do you test UI, backend APIs and business logic etc individually?您是否单独测试 UI、后端 API 和业务逻辑等?

Look at the following python frameworks:查看以下python框架:

Web UI testing - https://selenium-python.readthedocs.io/ Web UI 测试 - https://selenium-python.readthedocs.io/

Backend testing - https://github.com/svanoort/pyresttest后端测试 - https://github.com/svanoort/pyresttest

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 您如何编写单元测试来测试ASP.NET Web表单应用程序的CSRF漏洞? - How do you write a unit test to test an ASP.NET web forms application for CSRF vulnerability? 在同一解决方案中,如何使用调试从测试项目进入Web应用程序中的类? - How do you use debugging to step into a class in a web application from a test project in the same solution? 如何对ASP.NET核心Web应用程序(.Net Framework)进行单元测试? - How do you unit test ASP.NET Core Web Application (.Net Framework)? 您如何为连接到Web服务的方法编写单元测试? - How do you write a unit test for a method that connects to a web service? 您如何在Web API 2控制器中测试“补丁”操作? - How do you test the 'Patch' action in Web API 2 controllers? 如何对远程托管的Web应用进行单元测试? - How do you unit test web apps hosted remotely? 如何对应用程序的插件进行单元测试? - How do you unit-test a plug-in to an application? 你如何进行单元测试? - How do you unit test? 如何在Web应用程序中对类进行单元测试? - How to unit-test a class in a web application? 如何在Java Web应用程序中使用数据源测试DAO? - How to test DAO with DataSource in Java Web Application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM