Embeddable unit testing framework for mixed Windows app

Posted by Andy Dent on Stack Overflow See other posts from Stack Overflow or by Andy Dent
Published on 2010-05-28T03:16:38Z Indexed on 2010/05/28 3:21 UTC
Read the original article Hit count: 231

Filed under:
|

I want to test portions of a very complex app which includes both a major native Windows component and a substantial WPF GUI. Due to complexities I can't detail, it is impossible to run the native portion independently nor can I isolate the areas I want to test (spare me the lectures, we're talking a huge legacy code base and we do have refactoring plans).

I'm looking for a unit test kit I can invoke on the native side but must be able to run with the app launched with the managed portion initialised. That seems to rule out the run executable feature of the cfix Windows unit test kit. I really like their philosophy, like WinUnit, of using DLL compilation as a way to add the reflective capabilities missing in C++ and gain a more NUnit-like experience.

Ideally, I want something like WinUnit running within the application code and generating an HTML report.

I'm trying to introduce more TDD and having things as lean as possible is important.

© Stack Overflow or respective owner

Related posts about c++

Related posts about unit-testing