简体   繁体   English

如何测试Play Framework API并对其执行单元测试?

[英]How to test Play Framework APIs and perform Unit Testing over it?

I need to test some API created in Python Play Framework. 我需要测试在Python Play Framework中创建的一些API。 While using PHP I used Postman, what is the similar tool to be used to check Play API's? 在使用PHP时,我使用了Postman,用于检查Play API的类似工具是什么?

测试REST服务器没有区别,您可以将Postman与Play一起使用,就像与node.js或PHP服务器一起使用

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

相关问题 python单元测试以测试循环而不中断 - python unit testing to test over the loop and not to break 如何编写受身份验证保护的REST API的Django单元测试? - How to write Django Unit Test for Authentication Protected REST APIs? 如何编写脚本以使用boost :: unit_test执行自动测试? - How to write a script to perform automatic test with boost::unit_test? 如何使用Bottle框架进行单元测试 - How to unit test using Bottle framework 如何对 Django rest 框架请求进行单元测试? - How to unit test Django rest framework requests? (如何像计算机科学家一样思考-6.3单元测试)使用测试还是单元测试进行单元测试 - (How to Think like a Computer Scientist - 6.3 Unit Testing) Unit Testing using test vs unittest 如何使用模拟框架模拟龙卷风协程功能进行单元测试? - How to mock a tornado coroutine function using mock framework for unit testing? 如何在单元测试中为测试异常生成错误? - How can to generate error for testing exception in unit test? 如何测试是否使用单元测试引发和捕获了正确的异常? - How to test if the right exception is raised and caught using unit testing? Django单元测试:如何测试并发数据库操作? - Django unit testing: How to test concurrent database operations?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM