Fix for Creating Test Plan and Suites in TFS 2013

Oct 7, 2014 at 9:10 PM
I downloaded the latest version and then copied over the files from the patch that fixed the bad references for TFS 2013 and the Test Cases and steps were created, but the migrator failed to create the Test Plan and Suites that I had indicated in my source spreadsheet.

After doing a bit of debugging I discovered a fix that allowed me to get the plan and suite created so I thought I'd share. ExcelParser.ApplySettings I added the following lines right before the return statement:
        foreach (var testSuite in xlWorkItem.TestSuites)
Since this method returns a brand new instance of the source item and was never copying over the suite information it never made it into the suite migrator.

Hope this helps shortcut the effort for someone else.