testing - 如何将 TestRail 与 Jest 测试集成?

标签 testing jenkins jestjs testrail

我正在 Jenkins 上运行 Jest 集成测试,我想将它们与 TestRail 集成,以便自动将测试结果放入 TestRail。这样我就可以很容易地知道有多少测试通过/失败了?

有人试过吗?

最佳答案

我猜你正在寻找这样的东西 https://github.com/zeljkosimic95/Jest-2-Testrail .尽管您的问题太老了,但可能会对其他人有所帮助。这不是官方插件,但它可能对您有所帮助。

在此补充一个建议​​,我们应该在分析您的软件测试服务和产品中的所有需求后选择该工具。因为除了这个 https://gitlab.com/craydent/jest-testrail 没有官方插件(没试过)。但是你仍然可以在没有插件的情况下使用这个库/代码来做到这一点 https://github.com/zeljkosimic95/Jest-2-Testrail

关于testing - 如何将 TestRail 与 Jest 测试集成?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48684506/

相关文章:

unit-testing - Node.js 中的自动化 Web UI 测试

ios - 无法在 iOS SDK 上创建 Facebook 测试用户帐户

batch-file - Windows START 命令不适用于 Jenkins 管道

javascript - 我们如何模拟每个测试与 Jest 的依赖关系?

vue.js - jest.fn() 声称没有被调用,但是

python - pytest 模拟 MongoReplicaSetClient 对象的 .count() 和 .find() 函数

testing - 使用 JPA 在我的 CRUD 桌面应用程序上模拟 4,000 次选择

java - Maven 多模块项目和 Jenkins

linux - 在 jenkins 管道上使用容器运行 go2xunit

unit-testing - 使用 Jest 和 Enzyme 测试 switch 语句