mstest
Assert.Equals of Two objects implementing IEquatable(T) doesn't use the equals method
I have a custom type Type that implement IEquatable(Type). Then I new up two instances of the type, none of them are Null[详细]
2023-04-03 03:49 分类:问答C# - Unit Testing/Mocking - Legacy Code
I have the following logic in a more than decade old code for which I have to write Unit Tests. It is a concrete class and the following logic lies in the ctor. Is there a good way to write Unit Tests[详细]
2023-04-02 22:12 分类:问答Why am I getting "Index was outside the bounds of the array" when running mstest.exe on the commandline?
I am running this on my machine \"%ProgramFiles(x86)%\\Microsoft Visual Studio 10.0\\Common7开发者_StackOverflow中文版\\IDE\\mstest.exe\" /testcontainer:\"C:\\Working\\Einstein\\Solutions\\EinsteinAc[详细]
2023-04-02 15:48 分类:问答unit test cases visual studio
I am new to unit-tests. I am about to start working on a big project using C#, VS2010. I was wondering if its a good idea to use test-framework that come开发者_如何学Pythons with VS2010, or should I l[详细]
2023-04-02 14:35 分类:问答MSTest Timeout attribute not working as expected
Why can\'t i use const values in timeout attribute, example: private const int TIME_OUT = 1000; [TesMethod][详细]
2023-04-02 03:48 分类:问答MSTest: Deployment Items are not copied to test folder
I have been reading many posts that describe my problem but I cannot find a solution. In my test project I have a folder called, 开发者_JAVA百科\"resources\".[详细]
2023-04-01 22:28 分类:问答MsTest: how to set the deployment item relative to either $(ProjectDir) or $(OutDir)
I want to add an deployment item to my test. As far as I understood up until now, the path is relative to the solution. I want the path to be relative to the project. Otherwise, the project can\'t be[详细]
2023-04-01 14:54 分类:问答Can't load DLL while executing tests with MS-Test
In my program, I use SevenZipSharp to generate zip files. SevenZipSharp is a managed DLL which loads another DLL, 7z.dll. I am manually setting SevenZipSharp\'s path to 7z.dll using SevenZipCompressor[详细]
2023-04-01 01:47 分类:问答Is there a way to cover all permutations of parameters in a test
I am writing a Selenium test to validate an input form on my web page. 开发者_如何学JAVAI would like to cover all combinations of input data, but I would not like to write a separate test for each. Ri[详细]
2023-04-01 01:02 分类:问答Selenium webdriver parallel test in MSTEST
Quick question, is it possible to run parallel test using selenium webdriver C# and MSTEST? If yes then how?[详细]
2023-03-31 11:10 分类:问答
加载中,请稍侯......