Test List Migration
The Test List Migration (TLM) extension for VS2012 Update 2 (http://testlistmigration.codeplex.com/) converts
VSDMI files (with test lists) to playlists which were introduced in VS2012
update 2.
Description
In Visual Studio 2005 test lists were introduced, with these test lists it was
possible to group tests and run the group of tests together. With the release
of Visual Studio 2012, Microsoft stopped the support for test lists in favor
for test categories. These tests categories can be set on each individual test
method.
When Microsoft released Update 2 for Visual Studio they added the posibility to
create playlists. These playlists contain a collection of tests. This makes it
possible to run a selection of tests. The playlists are XML files which can be
saved anywhere on the disk.
The Test List Migration extension for VS2012 Update 2 makes use of these
playlists to convert the test lists. The extension is not able to convert the
test lists into test categories. This feature is planned, but due to problems
with editing the code files we decided to focus on playlists first. This
software is provided as-is!
How to use the extension
After installing the extension you can migrate your solution's VSMDI file by
right clicking it within the Solution Explorer. The menu should have a new
option named 'Migrate Test lists...'. Clicking the new menu option opens a
folder dialog, in this dialog you can choose the path the play lists should be
saved to.
In order to generate the playlists the solution has to be built, the extension
will do this automaticly before the folder dialog is shown. If the build
returned any errors the extension won't migrate the test lists.
Release Notes
R1.1 Mostly bugfixes. Most significant; Disabled test are now
ignored in the generation and when tests don’t exist in code anymore, it doesn’t
stop the migration process anymore.
R1.0 is the initial release of the test list migration
extension. It currently generates a folder structure with a single playlist per
test list. While the generation of playlists works correctly, some features may
still contain a few bugs. If a test list in the VSMDI file is disabled it will
still be converted to a playlist.