简体   繁体   English

将test_windmill用于Django时,如何在Windmill中运行Javascript测试?

[英]How do I run Javascript tests in Windmill when using test_windmill for Django?

I'm using the Windmill test system and have it running using test_windmill for Django which works fine for the Python tests. 我正在使用Windmill测试系统,并使用适用于Django的test_windmill运行该系统,该程序在Python测试中工作正常。 I'd like this to run a suite of Javascript tests also whilst the Django test server is running. 我希望在Django测试服务器运行时也运行一套Javascript测试。 I've used the run_js_tests call from the Windmill shell which works fine but I can't find a way to have this run as part of the Python tests. 我已经使用了Windmill shell中的run_js_tests调用,该调用工作正常,但是我找不到一种将其作为Python测试的一部分运行的方法。

Does anyone know how to do this? 有谁知道如何做到这一点?

Thanks 谢谢

Rob

好的,所以找不到方法,所以我在Apache下运行网站,并使用windmill标准jstests参数针对此运行Javascript测试。

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

相关问题 如何在Ubuntu上的https站点上显示Windmill IDE? - How do I make the Windmill IDE appear for https sites on Ubuntu? 如何编写使用 <input type=“file”> 将数据上传到服务器? - How can write a windmill test which uses an <input type=“file”> to upload data to the server? 使用风车或硒进行浏览器模拟和抓取,有多少个HTTP请求? - Browser Simulation and Scraping with windmill or selenium, how many http requests? 使用beautifulsoup4.2和windmill刮刮文档,如何从传递给BeautifulSoup构造函数的标记中消除“ document.write();” - Document scrape using beautifulsoup4.2 and windmill, how to eliminate “document.write();” from the markup passed to BeautifulSoup constructor 风车getPageText函数永无止境 - Windmill getPageText function never ends 无需网络浏览器的风车 - Windmill-Without web browser 风车没有得到所有的HTML内容 - Windmill not getting all html content 风车AttributeError:“模块”对象没有属性“设置” - Windmill AttributeError: 'module' object has no attribute 'settings' 使用Python-Windmill进行Web抓取(如何准确地等待页面完全加载) - Web scraping with Python-Windmill (How to accurately wait till a page fully loads) 如何在Django中运行JavaScript测试? - How can I run my javascript tests in django?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM