且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

一起运行 unittest 测试用例和 Robot Framework 测试用例

更新时间:2023-02-17 11:58:08

RobotFramework 不是单元测试的正确工具.

RobotFramework is not the right tool for unit testing.

  • 单元测试应使用与单元(模块、类等)相同的语言编写
  • 以自然语言描述场景的能力(这是 RF 等系统最强大的功能之一)在单元测试中毫无价值.在此级别的测试场景中,对于输入 x,您将获得输出 y.

RF 最适合验收测试和集成测试,这是系统的***验证.

RF is best suited in Acceptance Testing and Integration Testing, the top-grained verification of your system.

尽管如此,您可以将 RF 和 xunit 集成到您的 QA 系统中.并合并来自 RF 和单元测试的报告.

Nevertheless you can integrate RF and xunit in your QA system together. And merge reports from RF and unit-test.