为了帮助项目经理合理选择TDD实施模块,基于进程代数方法对测试驱动软件开发过程和非测试驱动软件开发过程建立过程仿真模型。通过用例度量软件模块的复杂性来获取随机变量参数对模型调参,并采用该模型得到仿真结果。提出TDD模块选取算法来分析仿真结果并得出最佳TDD实施策略,最终为项目经理提供合理的决策。
In order to help PM selecting the best TDD implement components,this paper developed a simulation model of TDD based on stochastic process algebra. The model was tuned using stochastic parameters derived from complexity metrics of using cases. This paper used this model to getting simulation results. The simulation results could be analyzed to get an optimal TDD development strategy. Ultimately the strategy could provide decision support for project managers.