mstest
User cannot see TFS2010 test results in VS2010
I have a few lists of tests that I setup for a project that builds to a website. I have a bunch of unit tests and integration tests that runs before deploying the site. I have one user that clicks o开[详细]
2023-04-10 02:49 分类:问答Unit test expected to throw an exception when calling an asynchronous operation on MSTest
The source code below is an example code snippet about my problem. I expect an exception to be occurred when an asynchronous operation is called.[详细]
2023-04-09 12:38 分类:问答How to unit test administrator-only functionality?
The design of my application is that standard user operations run first (and produce interested information even if the user cannot proceed) and then optionally offers to make some system changes acco[详细]
2023-04-07 04:54 分类:问答CollectionAssert.Contains(myList, myItem) != Assert.IsTrue(myList.Contains(myItem))
I have been looking at implementing unit tests for a controller controller, specifically around testing collections. On the MSDN example the use of CollectionAssert.Contains() confirms whether an obje[详细]
2023-04-06 16:57 分类:问答How to isolate unit tests
We have a batch processing project that utilizes a cache (that relies on static data). The unit tests for this project unfortunately mess up other unit tests within the same solution (because of the s[详细]
2023-04-06 12:12 分类:问答Debugging into COM from MSTest
Trying to debug a COM dll written in C++ from with an mstest ru开发者_运维百科n (Visual Studio 2008).All projects are in the same solution. 3 Projects: C++ COM dll, VB.NET WinForms App, C# MSTest Proj[详细]
2023-04-06 08:42 分类:问答MSTest with Ninject, MVC3 and WCF
I have an ASP.Net MVC3 project that calls a WCF service to get data. The WCF service in turn开发者_如何学Python uses managers and repositories etc. (in other class library projects) to get the require[详细]
2023-04-05 21:34 分类:问答MSTest log file shows invalid counts for results of orderedtest
I have tried many orderedtests and the .trx file always shows the wrong count? for instance, if i had an orderedtest with 2 tests, the results look like this in the .trx file (results summary node):[详细]
2023-04-05 04:19 分类:问答Running setup and cleanup scripts in Resharper for MSTest
I have tests running with MSTest. I use the .testsettings to run setup and cleanup scripts, needed to execute tests well.[详细]
2023-04-04 19:08 分类:问答Access TestContext in SpecFlow Step Binding class
Is it possible to access the MSTest TestContext from within a SpecFlow (1.7.1) step binding class? In the generated co开发者_StackOverflow社区de of a feature file there is a method FeatureSetup which[详细]
2023-04-03 11:07 分类:问答
加载中,请稍侯......