gpt4 book ai didi

.net - .NET多线程和单元测试

转载 作者:行者123 更新时间:2023-12-03 13:21:24 25 4
gpt4 key购买 nike

如何使用单元测试来捕获.NET应用程序中的多线程错误?有没有框架或库?

最佳答案

您可以尝试使用CHESS:

CHESS: Find and Reproduce Heisenbugs in Concurrent Programs:

CHESS is a tool for finding and reproducing Heisenbugs in concurrent programs. CHESS repeatedly runs a concurrent test ensuring that every run takes a different interleaving. If an interleaving results in an error, CHESS can reproduce the interleaving for improved debugging. CHESS is available for both managed and native programs.

关于.net - .NET多线程和单元测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8702063/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com