What tools exist for testing multithreaded .net code?

前端 未结 4 618
小蘑菇
小蘑菇 2021-01-31 11:38

Are there any tools that can help find race conditions when testing multi-threaded .net code? I\'m looking for something with similar capabilities to IBM\'s ConTest tool for Jav

4条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 12:07

    This announcement from Microsoft Research sounds like they have a tool that does exactly what I want. Unfortunately there's no .net version yet, but there is one planned. To quote the site:

    CHESS is an automated tool for finding errors in multithreaded software by systematic exploration of thread schedules. It finds errors, such as data-races, deadlocks, hangs, and data-corruption induced access violations, that are extremely hard to find with current testing tools. Once CHESS locates an error, it provides a fully repeatable execution of the program leading to the error, thus greatly aiding the debugging process. In addition, CHESS provides a valuable and novel notion of test coverage suitable for multithreaded programs. CHESS can use existing concurrent test cases and is therefore easy to deploy. Both developers and testers should find CHESS useful.

提交回复
热议问题