Docx 2 UnitTest
I’m proud to announce our first open source project released on GitHub.
Philip Proplesch started out with a T4 template (of course edited with Tim Fischer’s fabulous tangible T4 Editor). After he told me about it I had the idea of doing it with a code generator (Visual Studio custom tool). The advantage is that you do not need to copy the T4 files around.
Spend the last few nights pair coding (thanks to my girlfriend for the time to build this amazing stuff!!!)…
Supported frameworks are:
- It keeps the implementation of tests during re-generation.
- It keeps test methods attributes
Just add a *.docx file to a project in Visual Studio. The test classes will be generated immediately.
So give it a try and give us some feedback – I bet the regex to keep the existing code can be improved :-)