Can I run my microsoft unit tests outside of visual studio 2019? - visual-studio

I have a bunch of microsoft unit tests in several of my apps and have done some looking on here and other places to see if I could run these tests without installing visual studio on my client's computers which is not a possibility. So the simple question is - can I run the tests through some test harness on the client's computer?

Related

Test Automation tools shipped with Visual Studio 2015 Enterprise?

Management is looking into automated testing. Our QA Lead would like to know what if any automated test tools are shipped with Visual Studio 2015 Enterprise and Team Foundation Server 2012.
From what I am reading, MS offers a Suite of Tools as a separate Product called Test Studio. From what I can gather, there is nothing in Visual Studio itself or TFS itself to perform automated tests. Is this correct?
Won't they need Test Studio for this? Or HP if they want to look at other vendors...
Manage your team’s code, build and test your apps, and plan and track your team’s work these can be achieved with Visual Studio and Team Foundation Server on your own server.
However, for test in TFS. TFS itself won't shipped with Test Automation tools. TFS use Microsoft Test Manager, a separate Team Foundation client, lets you manage and execute test cases and create and manage physical or virtual environments. It installs with select Visual Studio editions.
Testing tools with VS
Visual Studio will include many powerful testing Tools and Services such as Load testing ,Continuous testing in DevOps,Manual testing,Exploratory testing,User acceptance testing,Unit testing and IDE... More details please refer Testing Tools and Services
If you want to quickly get started, here is also a help link Get started with developer testing tools
Overall Test Solution
If you need an overall Test solution, suggest you to use Visual Studio Test Professional
Lisense
Moreover, also provide some license info for your reference: Subscriber Benefits

Find out when unit tests are ran in Visual Studio

I'm trying to find out how often and how much time I spend running, not writing, unit tests. I'm using Test Explorer and VSTest from within Visual Studio 2015.
Is this information logged anywhere?

Optimal NUnit integration in Visual Studio

I am doing a demo, and want Nunit better integrated in Visual Studio.
Menu options to Create NUnit test project and test class with reference to the framework (Like Microsoft Test does)
Run/Debug "selected tests" and individual tests with debugging. I don't get it to work with [TestCase]-attribute, seems to run all testcases for a test.
Run failed tests with debugging.
Other cool stuff.
(Visual Studio 2015 RC)
I see some plugins in the gallery, but I am not sure if they do 1-3, and if they work.
Try NUnit Test Adapter or NUnit3 Test Adapter from the makers of NUnit, or ReSharper if you want test runners and more.
You can make you own Visual Studio project templates but I'd just use the basic class library and nuget to get nunit libraries
They won't give you everything but it can be start.

MSTest in Express editions of Visual Studio 2010

I'm leaning toward using MSTest as unit testing framework for a new project but I'm concerned with cutting off developers (maybe even myself in the future and/or in some specific environment) using Express editions of Visual Studio.
I know MSTest wasn't available in VS2008 Express but with Microsoft pushing unit testing in recent years I guess they could've added it to VS2010 Express. However I couldn't find any info on this in the list of Express features and I don't want to download and install express just to verify this.
So, is MSTest supported in Visual Studio 2010 Express?
It does not appear in Microsoft's list of features of Visual Studio Express 2010, and it would appear (according to this blog post) that it is not supported. Since express editions do not allow add-ins, you cannot even use something like TestDriven.net to run tests from within Visual Studio Express editions.
If you were to use NUnit for testing, you may get more mileage. That blog post shows a way of running/debugging NUnit tests using a bootstrapper, but an easier way is to set NUnit as the start action (in Project Properties -> Start External Program), and then passing the name of your dll as an argument. This will start and run NUnit when you run/debug your project, allowing you launch your tests from within Visual Studio, and also debug them if needed.

Do I need Team foundation server in order to use CodedUI?

I'd like to write some basic tests for our web and Winforms applications.
I already own Visual Studio 2010 Ultimate. Do I also need TFS in order to use the new CodedUI tests?
No you don't need to have TFS in order to use Coded UI tests. You can create your tests in Visual Studio and run them direct from there, or via mstest. The main benefit TFS will add is the ability to execute tests across multiple physical and virtual tests machines via Test Manager. You will also get central collation of test results in the TFS repository.
No, you don't need TFS. Visual Studio 2010 Ultimate is quite enough to record and launch codedUI tests.

Resources