Skip to content

BenjaminMichaelis/VS.TestPlaylistTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VS.TestPlaylistTools

A collection of .NET libraries and tools for creating, parsing, and manipulating Visual Studio test playlist files.

Packages

Tools

Libraries

Quick Start

Installing the CLI Tool

dotnet tool install --global trx-to-vsplaylist

Converting a TRX file to a VS Playlist

trx-to-vsplaylist input.trx -o output.playlist

Convert failed tests only

trx-to-vsplaylist input.trx -o failed.playlist --failed-only

Using the V2 Playlist Library

dotnet add package VSTestPlaylistTools.V2Playlist

using VS.TestPlaylistTools.PlaylistV2;
// Create a playlist with rules var playlist = new PlaylistRoot(); playlist.Rules.Add(BooleanRule.Any("MyTests", PropertyRule.Namespace("MyNamespace"), PropertyRule.Trait("Category", "Integration") ));
// Save to file playlist.SaveToFile("MyPlaylist.playlist");

Using the V1 Playlist Library

dotnet add package VSTestPlaylistTools.V1Playlist

using VS.TestPlaylistTools.PlaylistV1;
// Create a simple V1 playlist var playlist = new Playlist(); playlist.AddTest("MyTest.FullyQualifiedName"); playlist.SaveToFile("MyPlaylist.playlist");

📚 Documentation

🤝 Contributing

Contributions are welcome! Please open issues or submit pull requests on GitHub.

📄 License

MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages