How do I install the NUnit plugin in Visual Studio 2013 Express? - unit-testing

I am not able to run the unit tests in Visual Studio 2013 like I used to be able to run it from the Visual Studio window itself in Visual Studio 2010. I am not able to find anything in NuGet Package Manager or on the web.

Unfortunately this is not possible. The Express SKUs of Visual Studio do not support plugins / extensions.

Try to use NUnit TestAdapter including NUnit. You will find it searching for NUnit in the Manage NuGet Packages window.
I have tested it, and it works fine.

A workaround is in blog post How to invoke NUnit from Visual studio express and execute automation tests.

Related

The module "%VSINSTALLDIR%\DIA SDK\bin\msdia140.dll" failed to load, while trying to install llvm on windows 10

I am trying to get started with compiler development using llvm, I follow official setup page on the 10th step and am getting the following error
The module "%VSINSTALLDIR%\DIA SDK\bin\msdia140.dll" failed to load make sure the binary is stored at specified path or debug it to check for problems with binary or dependent .DLL files. The specified module could not be found.
Visual Studio 2022 information :
Microsoft Visual Studio Community 2022
Version 17.1.6
VisualStudio.17.Release/17.1.6+32421.90
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Community
Visual C++ 2022 00482-90000-00000-AA606
Microsoft Visual C++ 2022
ASP.NET and Web Tools 2019 17.1.363.30963
ASP.NET and Web Tools 2019
Azure App Service Tools v3.0.0 17.1.363.30963
Azure App Service Tools v3.0.0
C# Tools 4.1.0-5.22165.10+e555772db77ca828b02b4bd547c318387f11d01f
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 6.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 17.0.1229.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.1.0-5.22165.10+e555772db77ca828b02b4bd547c318387f11d01f
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake
I am trying to get llvm up and running, The .dll files are available at the given location, please help.
$ ls
amd64/ arm/ arm64/ msdia140.dll*
I had the same problem as you at first, please read my solution carefully:
You need to use the cd command to enter the folder where you want to install LLVM. Regarding the cd command, I suggest you search for usage methods on Google, I believe it will be easier to understand than what I described.
The documentation mentions that You may install the llvm sources in
other location than c:\llvm but do not install into a path containing
spaces (e.g. c:\Documents and Settings...) as it will fail.
Run the Developer Command Prompt for VS 2019 as an administrator.
Enter regsvr32 "%VSINSTALLDIR%\DIA SDK\bin\msdia140.dll" to get the following result.
Please look carefully at Figure 1.

The JIT Script option is not available under Tools=>Option=>Debugger=>JIT

Under JIT I have Manage and Native
I doesn't find Script Option
I installed :
Visual Studio Community 15.8.9
Visual Studio Professional 15.8.9
Same problem, what I must do?
In order to add the script option you have to modify the Visual Studio Installation, adding the "ASP.NET and Web development" option.

Reporting Template (RDLC) not exists in Visual Studio 2017

Reporting template Component (RDLC) not exists to as New Item in Visual Studio 2017 Enterprise.
How to resolve this?
I have tried by installing SQL Server Data Tools.
Previously it works for me in Visual Studio 2015.
There is a bug in the extension Microsoft Rdlc Report Designer for Visual Studio that the ReportViewer shows up as a non-visual component.
Instead use the NuGet Package Microsoft.ReportingServices.ReportViewerControl.WinForms for each project that will use the ReportViewer. Part of the solution involves removing the ReportViewer from the toolbox after use and restarting Visual Studio before opening the next project/solution.
Please see this answer to a similar question for step by step details.
The RDLC editor for VS2017 is only available as a VSIX installer from the marketplace: Download
I have just used VS2015 to add the new item. All other stuff seems to be fine in VS2017 (bearing in mind that you installed the VSIX extension)

Cucumber js in visual studio 2013

Is there a project with similar goals as Specflow is to cucumber in Visual Studio, but for cucumberjs?
I'm considering a unit testing / bdd framework for Visual Studio. Cucumberjs seems like the obvious choice as I am using Specflow to test the c#. However cucumberjs requires nodejs to be installed.
Chutzpah runs things like jasmine, qunit etc in Visual Studio. Is there a way to do the same for cucumberjs? Perhaps nodejstools for visualstudio with a mixture of something else?
There is a Feature request: Cucumber-js support for Chutzpah, but it's work in progress.
(Chutzpah was moved to github, so the issue was lost)
A new Chutzpah feature request on github for cucumber-js support
There is an interview with a cucumber core member saying (below) which sounds promising:
"Support for Cucumber.js is being added to popular IDEs like Jetbrains
Webstorm 8 and Visual Studio."
As per David Leitner's reply, I've created a step-by-step guide to setting up cucumberjs in Visual Studio.
http://blogs.endjin.com/2015/10/step-by-step-guide-to-setting-up-cucumberjs-in-visual-studio-2015/
I've done this by using the Visual Studio Task Runner Explorer. (You have to add it if you use VS 2013, with 2015 it's already included.)
This Extension is a task runner for Grunt and Gulp directly within Visual Studio 2013. It is now possible to define a Grunt task, like this one which runs your cucumberjs Features.

Need Visual Studio 2005 Compatible C++ Unit Testing Framework

Would you please recommend a C++ unit testing framework which works on Visual Studio 2005 and has all or most of features? I cant find any.
And please give a guide\tutorial to use it.
I've used Boost.Test and UnitTest++ on VS2005 without any problems.
here I am using Google C++ Testing Framework which works well with Microsoft Visual Studio 2005 Express Edition. For a tutorial you can check the documentation
Visual Assert should be compatible with Visual Studio 2005.
I haven't tried it though.
http://www.visualassert.com/unit-testing-framework/download.html
I believe any FW which supports latest version of Visual Studio will will do, as Visual Studio 2005 is quite similar to the those.
Anyway, both CxxTest and GTest worked for my.