Willy's Reflections - Visual Studio ALM Rangers

| Willy-Peter Schaub | Visual Studio ALM Rangers | In search of IT simplicity, quality and tranquility |

Unit Test Generator v1.3 and a chat about its origin and future

Unit Test Generator v1.3 and a chat about its origin and future

  • Comments 2

We are pleased to announce that the v1.3 of the Unit Test Generator has shipped. It is a bug-fix revision and does not introduce new features.

why bug fix?

This bug fix release addresses and resolves an elusive gremlin: Bug 9814: Unit test generator breaks nuget [vsarguidance: 20485] and finally brings us to a zero (0) bug count.
Fix: We no longer include NuGet assemblies in the vsix.

so, what’s the intent and plans for this extension?

We often get the question as to why the unit test generation feature was removed from the product and why this extension does not replicate the features from the previous product feature. Let’s try to find some answers.

There was a change in architecture to support multiple unit testing frameworks, and with Visual Studio 2012 and 2013 we got support for third party unit testing frameworks. See http://msdn.microsoft.com/en-us/library/hh704261(v=vs.110).aspx#whatsnewtestingunittests for more information. Using the Unit test Generator extension you can now generate NUnit and XUnit unit tests as well as MSTest unit tests.

There is no debate that the Rangers extension is simpler than the original feature, but arguably supports the most useful functionality. In Unit Test Generator under the bonnet (hood) … aka vsarUnitTestFx we were very transparent with our project principles and vision, highlighting that we are not resurrecting the old command or its features.

Will there be a v2? It depends what we hear from the ALM community (you). We need to ensure a need,  business value and alignment with the product group plans for the product.

reference documentation


We can’t wait to hear from you, learn more about your experience using the extension and hear your thoughts on “what next”.

Here are some ways to connect with us:

  • Add a comment below.
  • Ask a question on the respective Gallery discussion forum.
  • Contact me on my blog.
  • The original unit testing feature in 2010 was great, and allowed us to easily start generating and working with unit tests. The new feature is not as good, it would be great to have all the functionality that existed in the original feature.

  • This shows a lot of promise, particularly the mention of a T4 or template approach for generating some of the boilerplate. If this isn't going to be updated, is there any chance that the code can be released so the community can leverage it?

Page 1 of 1 (2 items)
Leave a Comment
  • Please add 6 and 8 and type the answer here:
  • Post