No announcements
Found 2757 threads
-
0 Votes
Unit Testing a Generic
I am trying to write some unit tests (Nunit) for the class below. public async Task<IEnumerable<T>> GetAll<T>(string ...Unanswered | 1 Replies | 1923 Views | Created by Craig Muckleston (MCPD, MCTS) - Tuesday, August 25, 2020 2:11 PM | Last reply by Tianyu Sun-MSFT - Wednesday, August 26, 2020 9:44 AM -
1 Votes
Is the NUnit Test Project on Visual Studio different from 3'rd party NUnit
The Visual Studio has NUnit Test Project. And there is NUit which nunit.org provides. Are those the same one? or not?Answered | 1 Replies | 1560 Views | Created by Jeff0803 - Thursday, August 6, 2020 8:37 AM | Last reply by Tianyu Sun-MSFT - Friday, August 7, 2020 1:56 AM -
0 Votes
[Announcement] "Visual Studio Unit Testing" Forum will be migrated to a new home on Microsoft Q&A!
This "Visual Studio Unit Testing" Forum will be migrated to a new home on Microsoft Q&A! We've listened to your feedback on how we can enhance the forum ... -
0 Votes
When intellitest support vb
Currently the vs2015 enterprise edition intellitest support c# unit test generation. But many of our project, we use vb. Is it possible to know when vb could be supported by this tool?Answered | 3 Replies | 2303 Views | Created by Freeman F X ZHONG - Friday, September 23, 2016 6:29 AM | Last reply by calebjenkins - Monday, August 3, 2020 6:28 PM -
0 Votes
Test Not Run Issue
I'm currently running latest Visual Studio 2019 Enterprise (16.6.5). I'm having many issues while discovering and running tests after the update to the latest version. I'm using Xunit .I have ...Proposed | 1 Replies | 11290 Views | Created by Bibek Khatri - Thursday, July 23, 2020 10:16 AM | Last reply by Tianyu Sun-MSFT - Friday, July 24, 2020 5:56 AM -
0 Votes
Ordered test execution with vstest.console.exe result of total test count does not match to actual count.
For visual studio 2017 and 2019 , Ordered test execution with vstest.console.exe always returns an extra total test count as a result. Ordered ...Proposed | 1 Replies | 2048 Views | Created by VrushUser - Wednesday, July 15, 2020 3:00 PM | Last reply by Tianyu Sun-MSFT - Thursday, July 16, 2020 3:12 AM -
0 Votes
VS2017 <Test Explorer> --> No test matches the given testcase filter `FullyQualifiedName
When my unit tests are compiled as x64, the Test Explorer is able to list and run each test. When my unit tests are compiled as x86 (because I need access to an x86 DLL), the Test ...Proposed | 1 Replies | 8214 Views | Created by SP_1 - Friday, July 10, 2020 5:58 PM | Last reply by Tianyu Sun-MSFT - Monday, July 13, 2020 8:57 AM -
0 Votes
"Empty Namespace" and "Empty Class" in Test Explorer window
Issue with Visual Studio 2019 - "Empty Namespace" and "Empty Class" in visual studio Test Explorer window for all Ordered Tests. How could I rectify ...Unanswered | 2 Replies | 3270 Views | Created by PremPaul - Friday, June 26, 2020 1:37 AM | Last reply by Dylan Zhu-MSFT - Wednesday, July 1, 2020 10:09 AM -
0 Votes
Need help in retrieving Bearer token based on User Login
I am a Tester and working on creating an API to fetch the bearer token which can be used to authorize remaining API's. I have all the relevant details from dev team but i am not ...Unanswered | 3 Replies | 3469 Views | Created by Vinit G - Wednesday, June 17, 2020 6:16 AM | Last reply by Dylan Zhu-MSFT - Friday, June 19, 2020 7:56 AM -
0 Votes
Can I get All test Methods name before the execution using Mstest?
I need to get All the test Methods name in [Assembly initialization] or [Class initialization] before the execution of test Methods . How Can I do ...Unanswered | 1 Replies | 1897 Views | Created by Mehwish 001 - Tuesday, June 9, 2020 11:41 AM | Last reply by Tianyu Sun-MSFT - Wednesday, June 10, 2020 7:18 AM -
2 Votes
How can I visibly switch from chrome to firefox second window?
I am using 2 browsers chrome and firefox. There are two windows in firefox. The second windows open on a button click on the first firefox window. I performed some action in Chrome and then ...Answered | 11 Replies | 2182 Views | Created by Mehwish 001 - Monday, June 1, 2020 12:07 PM | Last reply by Tianyu Sun-MSFT - Tuesday, June 9, 2020 8:01 AM -
0 Votes
Does Microsoft Unit Testing Framework for C++ (VS2015) Support 1Byte Aligned Code?
Code Generation -> Struct Member Alignment property set to 1 Byte (/Zp1 compiler flag). I can make the tests compile and run just fine with it set to default, but then the tests ...Answered | 2 Replies | 1962 Views | Created by AOlguin - Thursday, June 4, 2020 9:58 PM | Last reply by AOlguin - Friday, June 5, 2020 5:09 PM -
1 Votes
Can I open 'Firefox' and 'Firefox developer edition' at the same time using Selenium web driver C#?
I need to open FireFox and FireFox developer edition as the same time and open different URLs on both of them and perform testcase execution. How can I do ...Answered | 1 Replies | 2120 Views | Created by Mehwish 001 - Thursday, June 4, 2020 6:49 AM | Last reply by Tianyu Sun-MSFT - Friday, June 5, 2020 5:38 AM -
0 Votes
Visual studio 2017 times out when attempting to get latest version.
Hi I am facing an issue with Visual studio 2017. When trying to get latest from certain projects I get the error timed out after 600 seconds for certain files. This is not happening ...Unanswered | 2 Replies | 2071 Views | Created by Manolis Theodoroudis - Thursday, May 7, 2020 8:58 AM | Last reply by Tianyu Sun-MSFT - Wednesday, May 13, 2020 8:25 AM -
0 Votes
Add fake dll in project
Hi Team, I am using VS community edition any option is available to add fake dll as this is only for VS enterprise if not then ...Proposed | 1 Replies | 2020 Views | Created by sam000123 - Tuesday, May 12, 2020 4:10 AM | Last reply by Dylan Zhu-MSFT - Tuesday, May 12, 2020 5:35 AM -
0 Votes
Regenerate Individual Fakes Dlls on Demand
I am using MS Fakes for unit testing and came across an issue with re-generation of Fakes. The test projects typically have the referencs and we generate Fakes for the required ...Unanswered | 3 Replies | 3298 Views | Created by Sudheer Kumar - Thursday, May 29, 2014 9:56 PM | Last reply by sam000123 - Saturday, May 9, 2020 6:18 AM -
0 Votes
How to run testcases with cross browsers using Selenium C# Mstest?
hi, I am using C# selenium webdriver MStest framework. I have 2 testcases. I want to run first testcase against chrome and second testcase against firefox at the same time. The ...Unanswered | 6 Replies | 1687 Views | Created by Mehwish 001 - Wednesday, April 29, 2020 7:24 AM | Last reply by Dylan Zhu-MSFT - Friday, May 8, 2020 9:41 AM -
0 Votes
Reason Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..
Hi, All I am having trouble Running some UI tests on the test server. The reason seems to be the that the CodedUITestFramework cannot be found ...Proposed | 5 Replies | 8721 Views | Created by Manolis Theodoroudis - Sunday, April 12, 2020 12:46 PM | Last reply by Dylan Zhu-MSFT - Thursday, May 7, 2020 8:27 AM -
0 Votes
problem to create unit test
Hi All. I never developed unit test and now I need help to develop unit test for my project. I just briefly describe about my project. I developed WPF application ...Unanswered | 3 Replies | 1956 Views | Created by zleug - Wednesday, April 29, 2020 5:59 PM | Last reply by Dylan Zhu-MSFT - Monday, May 4, 2020 7:13 AM -
0 Votes
How to run testcases with cross browsers using Selenium C# Mstest
I want to run Particular test case with particular browser Testcases with multiple browsers My code ...Unanswered | 7 Replies | 1670 Views | Created by Mehwish 001 - Friday, April 24, 2020 9:58 AM | Last reply by Tianyu Sun-MSFT - Thursday, April 30, 2020 11:12 AM - Items 1 to 20 of 2757 Next ›
No announcements