其他
ThreadControl is a testing framework that can be used to support the Thread Control for Tests Approach in implementing tests involving asynchronous operations. The main intention of the framework is to avoid tests that fail due to late and early assertions. In order to do that, it monitors and controls the application threads and provides some test primitives for test developers, such as the waitUntilStateIsReached, which makes the test thread wait until an expected state for the system during an assertion is achieved.
For more information see the paper: Obtaining Trustworthy Test Results in Multi-threaded Systems. Ayla Dantas, Matheus Gaudencio, Francisco Brasileiro and Walfredo Cirne. In Proceedings of the XXII Simpósio Brasileiro de Engenharia de Software (SBES 2008). October 13th-17th, 2008. Campinas, SP, Brazil.
线程
测试
系统
操作
框架
一个
异步
暂无评论