Pergunta

Parece que você deve ser capaz de configurar o seu framework de testes unitários preferido como um plug-in para o Visual Studio System / Team como você pode com provedores SourceControl. Alguém tem conhecimento de um esforço dentro da Microsoft para permitir trocar mstest para nUnit, MbUnit ou outros. Obviosly nada impede-me de usar esses outros quadros, mas eles não estão integrados no IDE.

Foi útil?

Solução 3

Looks like this is coming to Visual Studio 11

Outras dicas

If you have a look at TestDriven.NET and Gallio, they both have test runners that integrate to the IDE and allow the use of other testing frameworks.

If you are adverse to spending a little this is just on of the many benefits of ReSharper. (r#)

Not sure MS would want to encourage us to use another one unfortunately.

Kindness,

Dan

Visual Studio does provide the concept of custom test adapters that would allow custom test frameworks to execute under the MSTest platform. That is, tests for those frameworks would appear in the Test List Editor, etc.

The developers of the custom frameworks would have to develop a VSPackage that would find and provide tests to MSTest. Unfortunately, there's a lot of work involved.

TestDriven.NET, Resharper (and several others) provide their own VSPackage to provide their own Tool Window, but do not integrate directly with MSTest.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top