rails分布式并行测试

ast*_*nic 19 testing parallel-processing unit-testing ruby-on-rails

如何在同一网络上通过SSH连接的双核机器上运行并行测试?

https://github.com/grosser/parallel_tests对本地工作人员运行良好,但无法在多台机器上运行它

https://github.com/qxjit/deep-test - 运行它时我没有运气,示例中有一条线就像

t.distributed_hosts
Run Code Online (Sandbox Code Playgroud)

这会引发错误

随着Hydra我有一个问题永远等待ssh工人

我尝试了自己的alpha版本,创建了一个测试回购并运行它,但没有运气

fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Run Code Online (Sandbox Code Playgroud)

我想只运行标准的单元/集成/功能测试

根本没有花哨的东西.

lsa*_*fie 0

虽然与如何在网络中的多台机器上运行parallel_tests没有特别关系,但以下是我在使用parallel_test时遇到的问题以及如何解决这些问题。

使用parallel_tests 测试在运行过程中被终止