首页>
外国专利>
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.
展开▼