mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-30 22:32:56 +02:00
Set up CI with Azure Pipelines (#203)
* Set up CI with Azure Pipelines * Microsoft.NET.Test.Sdk and coverlet.msbuild * vmImage: 'vs2017-win2016' * Remove coverlet.msbuild * . * s * eq * i * ne * , * echo * build always (test) * Install SonarScanner * script * cmd * dotnet tool install * SonarScanner via tools folder * echo * powershell * BUILD_BUILDID * $(SONAR_TOKEN) * fix * . * | * $(buildId) * $(buildId) * BuildId * appv * /d:sonar.cs.vscoveragexml.reportsPaths="**\*.coveragexml" * .coverage * coverlet * coverlet * b * coverlet local * Fix codefactor * Build Azure * Build Azure * remove FluentMockServer_Admin_StartStop * FluentMockServer_Admin_StartStop
This commit is contained in:
committed by
Stef Heyenrath
parent
84f3cc029f
commit
0c25ab413d
@@ -28,6 +28,16 @@ namespace WireMock.Net.Tests
|
||||
return current;
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FluentMockServer_Admin_StartStop()
|
||||
{
|
||||
var server1 = FluentMockServer.Start("http://localhost:19091");
|
||||
|
||||
Check.That(server1.Urls[0]).Equals("http://localhost:19091");
|
||||
|
||||
server1.Stop();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FluentMockServer_Admin_ResetMappings()
|
||||
{
|
||||
@@ -45,22 +55,6 @@ namespace WireMock.Net.Tests
|
||||
Check.That(server.Mappings).HasSize(0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FluentMockServer_Admin_StartStop()
|
||||
{
|
||||
var server1 = FluentMockServer.Start("http://localhost:19091");
|
||||
|
||||
Check.That(server1.Urls[0]).Equals("http://localhost:19091");
|
||||
|
||||
server1.Stop();
|
||||
|
||||
var server2 = FluentMockServer.Start("http://localhost:19091/");
|
||||
|
||||
Check.That(server2.Urls[0]).Equals("http://localhost:19091/");
|
||||
|
||||
server2.Stop();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FluentMockServer_Admin_SaveStaticMappings()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user