gpt4 book ai didi

visual-studio-2008 - MSTEST/Visual Studio 2008 Team Test 如何决定测试方法的执行顺序?

转载 作者:行者123 更新时间:2023-12-04 01:48:19 25 4
gpt4 key购买 nike

我的印象是单元测试类中的测试方法would be executed in the order that they appear in the class file.显然这不是真的。它似乎也不完全基于字母顺序。 MSTEST 如何决定执行顺序?

编辑:在挖掘了一下之后,我能够找到答案。见下文。

最佳答案

我能够找到答案。

According to Microsoft employee Guillermo Serrato :

MSTest executes all tests synchronously, the order is nondeterministic

关于visual-studio-2008 - MSTEST/Visual Studio 2008 Team Test 如何决定测试方法的执行顺序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/288805/

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