Вопрос

I am searching for a getting started introduction about how to implement a custom test type for VS2010 and VS2012. When googling for this information I found an example on how to do it on VS2005 and VS2008. I took the example and tried to adjust to VS2010 SDK but it seems that some types moved between namespaces and it is not that obvious.

Can anyone propose a more up to date example?

Thanks

Это было полезно?

Решение

With the new Test Runner for Visual Studio 2012 things have changed a lot again. Given that the NUnit and xUnit.NET test runners are open source and will provide very good examples on how to build your own test runner and discovery code.

The code samples from 2005-2010 don't really apply to 2012 any more. They might still be supported, but this is the way forward. Support for custom MsTest test types is pretty well hidden in the UI and in the TFS Build system.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top