Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .nuget/NuGet.exe
Binary file not shown.
9 changes: 0 additions & 9 deletions HealthMonitoring.AcceptanceTests/App.config
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="lightbdd" type="LightBDD.Configuration.LightBDDConfiguration, LightBDD" />
<section name="accessConfiguration" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<lightbdd>
<summaryWriters>
<clear />
<add formatter="LightBDD.Results.Formatters.XmlResultFormatter, LightBDD" output="Reports\FeaturesSummary.xml" />
<add formatter="LightBDD.Results.Formatters.PlainTextResultFormatter, LightBDD" output="Reports\FeaturesSummary.txt" />
<add formatter="LightBDD.Results.Formatters.HtmlResultFormatter, LightBDD" output="Reports\FeaturesSummary.html" />
</summaryWriters>
</lightbdd>
<appSettings>
<add key="WebDriver" value="Chrome" />
<add key="BaseUrl" value="http://localhost:19000/" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="LightBDD, Version=1.7.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LightBDD.Core.1.7.2.0\lib\net40\LightBDD.dll</HintPath>
<Reference Include="LightBDD.Core, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LightBDD.Core.2.1.0.0\lib\net45\LightBDD.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LightBDD.XUnit, Version=1.7.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LightBDD.XUnit.1.7.2.0\lib\net451\LightBDD.XUnit.dll</HintPath>
<Reference Include="LightBDD.Framework, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LightBDD.Framework.2.1.0.0\lib\net46\LightBDD.Framework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LightBDD.XUnit2, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LightBDD.XUnit2.2.1.0.0\lib\net46\LightBDD.XUnit2.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="MySql.Data, Version=6.9.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
Expand Down Expand Up @@ -102,19 +106,19 @@
<Private>True</Private>
</Reference>
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
<HintPath>..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.assert, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll</HintPath>
<Reference Include="xunit.assert, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.2.0\lib\netstandard1.1\xunit.assert.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.core, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll</HintPath>
<Reference Include="xunit.core, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.core.2.2.0\lib\netstandard1.1\xunit.core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="xunit.execution.desktop, Version=2.1.0.3179, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll</HintPath>
<Reference Include="xunit.execution.desktop, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.extensibility.execution.2.2.0\lib\net452\xunit.execution.desktop.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down Expand Up @@ -142,7 +146,6 @@
<Compile Include="Helpers\EndpointStatus.cs" />
<Compile Include="Helpers\Entities\EndpointEntity.cs" />
<Compile Include="Helpers\Entities\ErrorEntity.cs" />
<Compile Include="Helpers\FormatCollectionAttribute.cs" />
<Compile Include="Helpers\MonitorTypes.cs" />
<Compile Include="Helpers\Timeouts.cs" />
<Compile Include="Scenarios\Endpoint_statistics.cs" />
Expand Down
12 changes: 1 addition & 11 deletions HealthMonitoring.AcceptanceTests/Helpers/AppDomainExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ namespace HealthMonitoring.AcceptanceTests.Helpers
{
public class AppDomainExecutor
{
private static string _assemblyPath;

public static Tuple<Thread, AppDomain> StartAssembly(string exeRelativePath)
{
if (_assemblyPath == null)
throw new InvalidOperationException("AppDomainExecutor not initialized");

var exePath = Path.GetDirectoryName(_assemblyPath) + "\\" + exeRelativePath;
var exePath = AppContext.BaseDirectory + "\\" + exeRelativePath;

var setup = new AppDomainSetup
{
Expand All @@ -40,10 +35,5 @@ public static void KillAppDomain(Tuple<Thread, AppDomain> process)
}
catch { }
}

public static void Initialize(string assemblyPath)
{
_assemblyPath = assemblyPath;
}
}
}

This file was deleted.

6 changes: 1 addition & 5 deletions HealthMonitoring.AcceptanceTests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Diagnostics;
using System.Reflection;
using System.Reflection;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("HealthMonitoring.AcceptanceTests")]
Expand All @@ -14,6 +13,3 @@
[assembly: Guid("8d2cfa8a-f44f-4de2-98bc-b19eb496f003")]
[assembly: AssemblyVersion("3.9.0.0")]
[assembly: AssemblyFileVersion("3.9.0.0")]

// Allows to display scenario names properly in Release mode
[assembly: Debuggable(true, true)]
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
using System.Net;
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using HealthMonitoring.AcceptanceTests.Helpers.Http;
using HealthMonitoring.AcceptanceTests.Xunit;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit.Abstractions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using HealthMonitoring.AcceptanceTests.Helpers.Http;
using LightBDD;
using LightBDD.Framework.Formatting;
using LightBDD.XUnit2;
using Newtonsoft.Json;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Net;
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Http;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using HealthMonitoring.AcceptanceTests.Helpers.Http;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework.Formatting;
using LightBDD.XUnit2;
using Newtonsoft.Json;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using LightBDD;
using LightBDD.XUnit2;
using RabbitMQ.Client;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using LightBDD;
using Newtonsoft.Json;
using LightBDD.XUnit2;
using RabbitMQ.Client;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Threading;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using HealthMonitoring.Integration.PushClient;
using HealthMonitoring.Integration.PushClient.Monitoring;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Entities;
using HealthMonitoring.AcceptanceTests.Helpers.Http;
using LightBDD;
using LightBDD.XUnit2;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
using System.Linq;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Selenium;
using LightBDD;
using LightBDD.XUnit2;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using RestSharp;
using Xunit;
using Xunit.Abstractions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios.Selenium
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Linq;
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Selenium;
using LightBDD;
using LightBDD.XUnit2;
using OpenQA.Selenium;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios.Selenium
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using HealthMonitoring.AcceptanceTests.Helpers;
using HealthMonitoring.AcceptanceTests.Helpers.Selenium;
using HealthMonitoring.TestUtils;
using LightBDD;
using LightBDD.XUnit2;
using OpenQA.Selenium;
using RestSharp;
using Xunit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using System;
using LightBDD;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios.Extended;
using LightBDD.XUnit2;

namespace HealthMonitoring.AcceptanceTests.Scenarios.Selenium
{
Expand Down
Loading