<commit_before># T4 Generator for MsTest Wrappers For nUnit Tests
This is a project that uses T4 templates to generate a MsTest wrappers for any nUnit tests found in the solution.

It was created to allow unit test, that were written using nUnit, to be exposed in a manner that allowed them to be used in Microsoft Test Manager based test automation. 

Beyond the actual [T4 template](https://github.com/rfennell/T4GenerateMsTestWrappersForNunitTests/blob/master/T4GenerateMsTestWrappersForNunitTests/GeneratedMstests/GenerateTestWrapper.tt), which you may need to edit to meet your needs, all the interesting work is done in the [CSPROJ file](https://github.com/rfennell/T4GenerateMsTestWrappersForNunitTests/blob/master/T4GenerateMsTestWrappersForNunitTests/GeneratedMstests/GeneratedMstests.csproj). In this file there are edits (around line 100) were targets are added to allow the template based code to be regenerated on any re-compile of the solution (and to expose MSBuild properties). This is as opposed to the re-generation only occuring when the .TT file is edited.

## Usage
Add the GeneratedMstests project to your solution and add reference from it to any projects in the solution containing nUnit tests.

##More Information
Extra background and documentation can be found in [this blog post]( http://blogs.blackmarble.co.uk/blogs/rfennell/post/2015/05/07/Generating-MsTest-wrappers-for-nUnit-tests.aspx)<commit_msg>Fixed url to blog post<commit_after># T4 Generator for MsTest Wrappers For nUnit Tests
This is a project that uses T4 templates to generate a MsTest wrappers for any nUnit tests found in the solution.

It was created to allow unit test, that were written using nUnit, to be exposed in a manner that allowed them to be used in Microsoft Test Manager based test automation. 

Beyond the actual [T4 template](https://github.com/rfennell/T4GenerateMsTestWrappersForNunitTests/blob/master/T4GenerateMsTestWrappersForNunitTests/GeneratedMstests/GenerateTestWrapper.tt), which you may need to edit to meet your needs, all the interesting work is done in the [CSPROJ file](https://github.com/rfennell/T4GenerateMsTestWrappersForNunitTests/blob/master/T4GenerateMsTestWrappersForNunitTests/GeneratedMstests/GeneratedMstests.csproj). In this file there are edits (around line 100) were targets are added to allow the template based code to be regenerated on any re-compile of the solution (and to expose MSBuild properties). This is as opposed to the re-generation only occuring when the .TT file is edited.

## Usage
Add the GeneratedMstests project to your solution and add reference from it to any projects in the solution containing nUnit tests.

##More Information
Extra background and documentation can be found in [this blog post]( http://blogs.blackmarble.co.uk/blogs/rfennell/post/2015/05/07/Generating-MsTest-wrappers-for-nUnit-tests)
{'fraction_non_alphanumeric': 0.05551675977653631, 'fraction_numerical': 0.012569832402234637, 'mean_word_length': 5.338495575221239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1387649', 'n_tokens_mistral': 796, 'n_tokens_neox': 767, 'n_words': 343}