Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 8 update #44

Merged
merged 35 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5718ec0
Added NTLM authentication and small updates
mihaj Nov 19, 2020
e54faf7
Merge branch 'main' into develop
mihaj Dec 7, 2020
8e60581
Upload files with multipart content type
mihaj Dec 7, 2020
8db309a
Merge branch 'develop' of https://github.com/qatoolkit/qatoolkit-engi…
mihaj Dec 7, 2020
280b19a
Merge branch 'main' into develop
mihaj Dec 7, 2020
f0f9f5e
CreateHttpRequest override that accepts HttpRequest object
mihaj Dec 12, 2020
48787a2
Merge branch 'main' into develop
mihaj Dec 12, 2020
df94c4e
Merge branch 'develop' of https://github.com/qatoolkit/qatoolkit-engi…
mihaj Dec 12, 2020
2557cc8
Merge branch 'main' into develop
mihaj Dec 12, 2020
f05c3cd
Asserter has new methods ResponseStatusCodeIsSuccess and ResponseBody…
mihaj Dec 14, 2020
9dc1f90
Merge branch 'main' into develop
mihaj Dec 14, 2020
4f55262
HttpTester client now has WithPathReplacementValues, bug fix with que…
mihaj Dec 14, 2020
3a58192
Merge branch 'main' into develop
mihaj Dec 14, 2020
b3ba223
maintenance
mihaj Dec 30, 2020
3d5b02f
year update
mihaj Jan 2, 2021
9989309
Http duration added, XML deserializer for HTTP response content
mihaj Feb 22, 2021
4deb763
Merge branch 'main' into develop
mihaj Feb 22, 2021
c99d168
HTTP authentication with client certificate
mihaj Apr 13, 2021
c6e3ba2
Merge branch 'main' into develop
mihaj Apr 13, 2021
2bc133a
nuget updates
mihaj Aug 17, 2021
6b7ea84
Merge branch 'main' into develop
mihaj Aug 17, 2021
4787e81
nuget updates
mihaj Aug 17, 2021
5795435
Implementation of assert named ResponseContentTypeEquals (#32)
mihaj Nov 1, 2021
1c95e75
Merge branch 'main' into develop
mihaj Nov 1, 2021
d785995
asserter updates (#34)
mihaj Nov 3, 2021
8304834
Merge branch 'main' into develop
mihaj Nov 3, 2021
df7891e
removed duplicate function
mihaj Nov 3, 2021
1f94a3d
add or update HTTP headers
mihaj Dec 18, 2021
c7ba579
Merge branch 'main' into develop
mihaj Dec 18, 2021
7cd7a8b
http agent setup, net 6 update
mihaj Jan 29, 2022
6929784
Merge branch 'main' into develop
mihaj Jan 29, 2022
9dabbe0
Upgrade to .NET 7
mihaj Jan 14, 2023
8c1a989
Merge branch 'main' into develop
mihaj Jan 14, 2023
853e8fd
.NET 8 update
mihaj Mar 7, 2024
7f18ada
Merge branch 'main' into develop
mihaj Mar 7, 2024
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
32 changes: 0 additions & 32 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

66 changes: 33 additions & 33 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,42 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Clean
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
- name: Install dependencies
run: dotnet restore qatoolkit-engine-httptester-net.sln
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.0
with:
# Artifact name
name: qatoolkit-engine-httptester-net.zip
# A file, directory or wildcard pattern that describes what to upload
path: src/QAToolKit.Engine.HttpTester/bin/
- uses: actions/checkout@v4.1.1
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Clean
run: dotnet clean --configuration Release && dotnet nuget locals all --clear
- name: Install dependencies
run: dotnet restore qatoolkit-engine-httptester-net.sln
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.1
with:
# Artifact name
name: qatoolkit-engine-httptester-net-${{ matrix.os }}.zip
# A file, directory or wildcard pattern that describes what to upload
path: src/QAToolKit.Engine.HttpTester/bin/
deploy:
name: Pack and Push Nuget
needs: build
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Pack NuGet
uses: brandedoutcast/publish-nuget@v2.5.5
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
VERSION_FILE_PATH: Directory.Build.props
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
TAG_COMMIT: true
- uses: actions/checkout@v4.1.1
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Pack NuGet
uses: brandedoutcast/publish-nuget@v2.5.5
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: src/QAToolKit.Engine.HttpTester/QAToolKit.Engine.HttpTester.csproj
VERSION_FILE_PATH: Directory.Build.props
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
TAG_COMMIT: true
31 changes: 0 additions & 31 deletions .github/workflows/sonarqube-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>0.3.7</Version>
<Version>0.3.8</Version>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Description
`QAToolKit.Engine.HttpTester` is a .NET Standard 2.1 library, that that contains an implementation of `IHttpTesterClient` that is a thin wrapper around .NET `HttpClient` to allow to write easy Http Request calls.

Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net7.0`
Supported .NET frameworks and standards: `netstandard2.0`, `netstandard2.1`, `net8.0`

Get in touch with me on:

Expand Down Expand Up @@ -287,7 +287,7 @@ using (var client = new HttpTesterClient())

MIT License

Copyright (c) 2020-2023 Miha Jakovac
Copyright (c) 2020-2024 Miha Jakovac

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.1.0">
<PackageReference Include="coverlet.msbuild" Version="6.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="ExpectedObjects" Version="3.5.4" />
<PackageReference Include="QAToolKit.Source.Swagger" Version="0.4.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="QAToolKit.Source.Swagger" Version="0.4.1" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.0">
<PackageReference Include="coverlet.collector" Version="6.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>latest</LangVersion>
<ProjectGuid>23f0cf6e-9a0a-4be5-8f51-51daf799a0bf</ProjectGuid>
Expand All @@ -19,7 +19,7 @@
<PackageProjectUrl>https://github.com/qatoolkit/qatoolkit-engine-httptester-net</PackageProjectUrl>
<PackageIcon>qatoolkit-64x64.png</PackageIcon>
<RepositoryUrl>https://github.com/qatoolkit/qatoolkit-core-net</RepositoryUrl>
<PackageTags>qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net7</PackageTags>
<PackageTags>qatoolkit-engine-httptester-net;.net;c#;f#;dotnet;netstandard;net8</PackageTags>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>

Expand All @@ -34,7 +34,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="QAToolKit.Core" Version="0.3.13" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="QAToolKit.Core" Version="0.3.15" />
</ItemGroup>
</Project>
Loading