Many people would like to use xUnit to test their Metro-style applications. While this isn’t yet currently possible with the main xUnit binaries, I have updated the code to get it working on WinRT. Without getting into the nitty-gritty, I’ve created a Project Template that’ll make it a snap to get started.
You’ll need two things
- The xUnit.net runner for Visual Studio 2012. This lets the Unit Test Explorer recognize and run xUnit tests.
- The xUnit Test Library Template for Metro style apps. With this, you can easily create a unit test project to test your metro style applications and libraries.
I haven’t yet created a template installer VSIX for the Code Gallery, but that’s coming soon – need to resolve a few issues with it first.
Read full article here