简体   繁体   English

在芹菜工人中进行测试

[英]Run tests in celery workers

I'm looking for a Python test-suite that takes tests, converts them into celery tasks which are run on workers, gathers the results and prints them as if the tests were running normally. 我正在寻找一个接受测试的Python测试套件,将其转换为在工作程序上运行的celery任务,收集结果并将其打印出来,就像测试在正常运行一样。

Searching only came up with ways of testing celery tasks. 仅搜索提供了测试芹菜任务的方法。 I don't want to test celery tasks, I want celery tasks to test other things. 我不想测试芹菜任务,我想芹菜任务测试其他东西。

Is there anything like that? 有没有类似的东西?

I'm not aware of any library that uses celery to distribute tests, but there are libraries for both pytest and nose that do something similar. 我不知道任何使用celery来分发测试的库,但是有pytest和鼻子的库都可以做类似的事情。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM