首页> 外国专利> System to uncover root cause of non-deterministic (flaky) tests

System to uncover root cause of non-deterministic (flaky) tests

机译:发现非确定性(片状)测试根本原因的系统

摘要

A system and method are disclosed for determining the root cause of non-deterministic tests. An exemplary system may receive a non-deterministic test and run the non-deterministic test with call trace collection enabled. For each trace, the system may determine whether the trace was associated with a passing or failing test. Each trace may be labeled according to the trace's association. Then, dynamic call trees may be constructed, one for the traces associated with passing tests and one for traces associated with failing tests. The dynamic call trees may be compared to determine subtree patterns that occur in one tree, but not the other. The subtree patterns may then be ranked based on the number of times the subtrees occur in the traces in order to determine the root cause of the non-deterministic test.
机译:公开了一种用于确定不确定性测试的根本原因的系统和方法。示例性系统可以接收非确定性测试,并在启用了呼叫跟踪收集的情况下运行该非确定性测试。对于每个跟踪,系统可以确定跟踪是否与通过或未通过测试相关联。每个迹线可以根据迹线的关联进行标记。然后,可以构造动态调用树,其中一个用于与通过测试相关联的跟踪,另一个用于与失败测试相关联的跟踪。可以将动态调用树进行比较,以确定在一棵树中发生的子树模式,而不是另一棵树中的子树模式。然后可以基于子树在跟踪中出现的次数来对子树模式进行排名,以确定不确定性测试的根本原因。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号