2017-03-02 21:04:03 -08:00
|
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
|
|
|
|
|
using Microsoft.DotNet.Tools.VSTest;
|
2017-02-22 13:53:44 -08:00
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using Xunit;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.MSBuild.Tests
|
|
|
|
|
{
|
|
|
|
|
public class GivenDotnetVsTestForwardingApp
|
|
|
|
|
{
|
|
|
|
|
[Fact]
|
|
|
|
|
public void ItRunsVsTestApp()
|
|
|
|
|
{
|
|
|
|
|
new VSTestForwardingApp(new string[0])
|
2017-02-22 15:49:39 -08:00
|
|
|
|
.GetProcessStartInfo().Arguments.Should().EndWith("vstest.console.dll");
|
2017-02-22 13:53:44 -08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|