Skip to content

VSTest Target #2

@smack0007

Description

@smack0007

In my SnowShovel project I'm using an slnproj file to run my tests:

  <Target Name="VSTest">
    <ItemGroup>
      <TestProjects Include="tests/**/*.csproj" />
    </ItemGroup>
    <MSBuild Projects="@(TestProjects)" Targets="VSTest" />
  </Target>

Tests can then be executed with the dotnet cli:

dotnet test SnowShovel.slnproj

I feel like this should be in the box. I'm willing to create a pull request if you can assist me in how to test changes in the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions