English 中文(简体)
测试
原标题:MSTest F# - running tests in parallel
  • 时间:2011-10-04 20:59:31
  •  标签:
  • f#
  • mstest

Following the guide mentionned here: Using MSTest with F# I managed to successfully run my unit tests.

我很想知道,是否有任何人试图并成功地同时进行测试?

如何同时进行单位测试?

感谢!

编辑:

So I ended up deleting all solution items, removing the C# test project cleaned solution. Readded a new C# test project with Local.testsettings (I had Debug.testsettings and Release.testsettings - adding Local.testsettings manually hadn t fixed the problem). Fixed - running 5 tests in parallel.

最佳回答

是的,UsingMS Test with F# and 如何同时进行单位测试? 允许在VS2010/mstest上多分箱进行多达5个F#-写地方单位测试。 下面的屏幕显示:《试验标准》()和《试验标准》(>)同时运行;《试验标准》(4(>)已经通过;《试验标准》(>)>(>)仍有待通过。

环境是VS2010 保险/无特殊产品1,在Win2008R2下运行16个记分箱;parallel TestCount Depende of <Execution> 域名/代码>中的部分。

<Execution parallelTestCount="2">

可在here查询。

VS2010 with two F# unit tests running in parallel

Good luck with "native" VS/mstest F# unit testing! :)

问题回答

暂无回答




相关问题
F#: Storing and mapping a list of functions

I have a number of events that happen in a game. I want to control the time and order at which these events occur. For example: Event 1: Show some text on screen for N frames & play a sound ...

Creating Silverlight 3 applications with F#

Is there an easy way to create Silverlight 3 applications with F# (October CTP)? I have seen the F# for Silverlight, but that only works with the May CTP. I am using Visual Studio Integrated Shell ...

How To Change List of Chars To String?

In F# I want to transform a list of chars into a string. Consider the following code: let lChars = [ a ; b ; c ] If I simply do lChars.ToString, I get "[ a ; b ; c ]". I m trying to get "abc". I ...

Unzipping ZLIB compressed portions of a binary file

I m reading a file(a flash swf) from .Net 3.5 that has a header which states whether the body of the file/Stream is compressed or not. However, I m having problems-after I rewrap the basic File ...

Pretty print a tree

Let s say I have a binary tree data structure defined as follows type a tree = | Node of a tree * a * a tree | Nil I have an instance of a tree as follows: let x = Node (Node (...

F# String Pattern-Matching with Wildcards

As part of a project I have assigned myself as a way of improving my knowledge of F# and functional programming in general, I am attempting to write a string pattern-matching algorithm from scratch ...

热门标签