示例#1
0
        public void ShouldUseExecutableFromToolPathIfProvided(string toolPath, string expected)
        {
            // Given
            var fixture = new NewmanFixture();

            fixture.Settings.ToolPath = toolPath;
            fixture.GivenSettingsToolPathExist();

            // When
            var result = fixture.Run();

            // Then
            result.Path.FullPath.Should().Be(expected);
        }