For some reason I get the "Unable to install due to missing .NET framework". I did follow the steps in Q&A, this didn't solve the problem. I tried enabling the older .NET packages, although this didn't give any solution.
If anyone knows what might be the issue and how to resolve it, let me know. It work with visual studio 2013, latest version on Windows 10 OS .NET is also latest version.
I am not able to install Unit Test Generator. I have visual studio 2013 Ultimate on Windows 10. I am always getting "Required .NET Framework version is not installed error" ;and not able to proceed further to install the Unit Test Generator.
I have tried the solutions provided in the Q&A, close the visual studio, download vsix and install, this is not working for me.
I have tried on other box also, the same issue.
Could you provide a way to install Unit Test Generator?
- Lack of support for internal classes, that was supported in the original VS functionality (along with setting the internalsvisibleto() attribute)
- The unit test created required renaming.
I know creating a true unit test generator is impossible... you should be creating the unit test first. But it would be nice if the code exist, creating tests based on symbols, known patterns, ect. Support for WF unit testing would be nice as well.
Very useful extension not only adding back functionality which had been removed but also extending the functionality by adding in support for different testing frameworks. The biggest problem however is that it doesn't support generating tests for internal classes and methods. It should be rather trivial for this to be fixed and an InternalsVisibileTo attribue added to AssemblyInfo. Once that's been done then I'll give it 5 stars.
Finally something to replace the functionality that was removed from VS. It does exactly what I need it to do. I installed it through VS's "Extensions and Updates" wizard and had no problems. IMHO it works better than what was taken out of VS.
Thanks Guys for providing this functionality through an extension. I'll use it a lot.
This simple tool makes adding unit tests for my classes a breeze. Especially when I am implementing a interface. Just create my class, implement the interface classes. Right click and generate all my tests.. then start knocking out my methods one by one good old TDD style. I love it. Great tool. I would how ever like to see something like Netbeans and IntelliJ to when generating tests in that they make a instance, a actual, and a expected variable for me. Granted it's not always right, but it's nice to have the majority of that put in. Just a thought.
I have installed the latest version 126.96.36.1990 and the installation worked "perfectly" (meaning there was no errors). But I'm missing the essential menus!
Under the Test menu I have Configure Unit Test Generation... but nothing more.
If I right-click on a public function I get the popup menu but there is no alternative for creating a test (or any alternative for Unit Test Generation)
Everything looks OK, except for the fact that I can't access it!
What is wrong and how do I fix it?
For some reason I get the "Unable to install due to missing .NET framework". I did follow the steps in Q&A that I found regadering this problem, this didn't solve the problem. I tried enabling the older .NET packages, although this didn't give any solution.
If anyone knows what might be the issue and how to resolve it, let me know.
It work with visual studio 2013, latest version on Windows 10 OS .NET is also latest version.
This install continually failed for me on Windows 10 indicating I did not have the required .Net framework installed. I tried closing VS and installing the vsix file by directly executing the downloaded file, but this still failed.
I eventually got this to work by installing the VS 2013 Update 5 package. Then I was able to install the vsix file without any further errors.
When i installed the GenerateUnitTest.vsix into Visual Studio Ultimate 2013, there was an installing failure: 扩展 “Unit Test Generator” 需要的.NET Framework版本没有安装。
Is there any nice friend giving a solution, very thanks!
I want to run unit test/ MSTest in my team builds using Windows 2012 R2 build server. Can I run mstest commands on windows 2012 R2? is it compatible?
The VS version is 2013.
Thanks in advance.
I unfortunatly activate the "not show me again" (or something like that...) on the parameter box who pops when you do a right-click -> generate unit test. Someone knows how to re-activate it ?
I have been working with my team and we have come across NSubstitute, found it to be a great testing framework. I would love to see it in the Unit Test Generator and would like to know if there are any plans to have it included?
If you try to generate a unit test for a project targeting 4.5.1 where no unit test project currently exists, the generated test project targets 4.5 and is therefore unable to reference the code being tested. I have to change the target framework manually. It would be good if the target framework were copied from the source project.
As it doesn't look like the authors are posting here at the moment, a workaround for the project target framework version is to modify the default Visual Studio project template for unit tests. This is located at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProhectTemplates\CSharp\Test\1033\UnitTestProject\UnitTestProject.csprj (you may need to change 1033 to be your language code).
Originally this file contains:
You can change it to target your framework version, but be aware that any project created manually will now have this version too: