2017-03-03 05:04:03 +00: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 21:53:44 +00: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 23:49:39 +00:00
|
|
|
|
.GetProcessStartInfo().Arguments.Should().EndWith("vstest.console.dll");
|
2017-02-22 21:53:44 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|