Visual Studio Unit Test Generator is feature complete – v1 Release Candidate lands!

Visual Studio Unit Test Generator is feature complete – v1 Release Candidate lands!

  • Comments 5

The ALM Rangers are pleased to announce the landing of the Release Candidate for the Visual Studio Unit Test Generator.


Once you’ve moved to Visual Studio 2012, what’s a developer to do without the Create Unit Tests feature?

Based on the high demand on User Voice for this feature to be restored, the Visual Studio ALM Rangers have introduced the Unit Test Generator Visual Studio Extension. The extension adds the “create unit test” feature back, with a focus on automating project creation, adding references and generating stubs, extensibility, and targeting of multiple test frameworks.We envision the following benefits for the Visual Studio community:

  • Quickly get to writing test code, not having to worry about setting up projects and files.
  • Customize the unit test code generation using a context menu, ensuring that generated tests better match your naming schemes.
  • Generate unit test stubs against multiple frameworks so that you can use any framework you like.

Find the Visual Studio Extension here:

Message from our product owner  Joshua Weber

I’m excited about the value this ALM Rangers team has delivered. This project works to not just bring back the core functionality and value from the old version but stretches to enhance it by supporting multiple frameworks and a more configurable test generation environment.

Please send candid feedback!

Which features do you need in the next version? What do you like and dislike in the current version?

We can’t wait to hear from you, and learn more about your experience using the add-in. Here are some ways to connect with us:

  • Ask a question on the respective CodePlex discussion forum.
  • Contact me on my blog.
  • Submit a suggestion on UserVoice, using the Rangers Project category tag.

Reference Links

Leave a Comment
  • Please add 8 and 7 and type the answer here:
  • Post
  • What about Pex? Can that be added to this feature to automatically suggest edge-cases to test for?

  • I offer you my sincere thanks. I very very much hated the fact that unit test generation was gone with VS2012. Now it's back, and being a plugin, it'll perhaps receive more development love and care than a VS feature would and perhaps even carry over VS versions.

    I think it would be better if "Show on each run" was the default. That way you'd get a better idea of what your options are from the get go.  It shows more options with the box ticked after all.

  • Any chance the scenario of internal classes /  [assembly :InternalsVisibleTo("TestsProject") might be supported ?

  • Does this extension work with Visual Studio 2013 Preview?

  • Great work, this will be really useful.

    One thing, shouldn't the generated test project pull in the same references as the target project and classes, specifically other solution projects ?

Page 1 of 1 (5 items)