-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4784c0b
commit 4c54882
Showing
20 changed files
with
531 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$packCmd = 'dotnet pack $Name --no-build --output ./Release --configuration Release' | ||
$projList = 'Fonlow.Testing.HttpCore/Fonlow.Testing.HttpCore.csproj', 'Fonlow.Testing.ServiceCore/Fonlow.Testing.ServiceCore.csproj' | ||
$projList = 'Fonlow.Testing.HttpCore/Fonlow.Testing.HttpCore.csproj', 'Fonlow.Testing.ServiceCore/Fonlow.Testing.ServiceCore.csproj', 'Fonlow.Testing.Basic/Fonlow.Testing.Basic.csproj', 'Fonlow.Testing.Integration/Fonlow.Testing.Integration.csproj', 'Fonlow.Testing.Utilities/Fonlow.Testing.Utilities.csproj' | ||
foreach($name in $projList){ | ||
Invoke-Expression $ExecutionContext.InvokeCommand.ExpandString($packCmd) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Version>1.0-Alpha</Version> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Basic types and functions of Fonlow.Testing.Integration suite.</Description> | ||
<PackageReleaseNotes></PackageReleaseNotes> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="./README.md" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Fonlow.Testing.Basic | ||
|
||
Basic types and functions used by other packages of [Fonlow.Testing.Integration](https://www.nuget.org/packages/Fonlow.Testing.Integration/) | ||
|
||
## NuGet Packages | ||
|
||
### For .NET Core 8.0 + | ||
|
||
* Package [Fonlow.Testing.Integration](https://www.nuget.org/packages/Fonlow.Testing.Integration/), including all packages. | ||
* Package [Fonlow.Testing.ServiceCore](https://www.nuget.org/packages/Fonlow.Testing.ServiceCore/) | ||
* Class [ServiceCommandsFixture](https://github.com/zijianhuang/FonlowTesting/blob/master/Fonlow.Testing.ServiceCore/ServiceCommandsFixture.cs) | ||
* Package [Fonlow.Testing.HttpCore](https://www.nuget.org/packages/Fonlow.Testing.HttpCore/) | ||
* Class [BasicHttpClient](https://github.com/zijianhuang/FonlowTesting/blob/master/Fonlow.Testing.HttpCore/BasicHttpClient.cs) | ||
* Class [HttpClientWithUsername](https://github.com/zijianhuang/FonlowTesting/blob/master/Fonlow.Testing.HttpCore/HttpClientWithUsername.cs) | ||
* Class [TestingSettings](https://github.com/zijianhuang/FonlowTesting/blob/master/Fonlow.Testing.HttpCore/TestingSettings.cs) | ||
* [Examples of Integration Test Suite](https://github.com/zijianhuang/DemoCoreWeb/tree/master/Tests/ServiceCommandIntegrationTests) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Fonlow.Testing.Integration/Fonlow.Testing.Integration.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Version>1.0-Alpha</Version> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Utilities and fixtures for integration testing with xUnit</Description> | ||
<PackageReleaseNotes></PackageReleaseNotes> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="../README.md" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Fonlow.Testing.HttpCore\Fonlow.Testing.HttpCore.csproj" /> | ||
<ProjectReference Include="..\Fonlow.Testing.ServiceCore\Fonlow.Testing.ServiceCore.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
77 changes: 42 additions & 35 deletions
77
Fonlow.Testing.ServiceCore/Fonlow.Testing.ServiceCore.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,42 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Setup and teardown of service resources in unit testing and integration testing.</Description> | ||
<PackageReleaseNotes>upgraded to .NET 8. Linux and Github Actions friendly.</PackageReleaseNotes> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Version>3.6.2</Version> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Fonlow.Testing.HttpCore\Fonlow.Testing.HttpCore.csproj" /> | ||
<None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Setup and teardown of service resources in unit testing and integration testing.</Description> | ||
<PackageReleaseNotes>upgraded to .NET 8. Linux and Github Actions friendly.</PackageReleaseNotes> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Version>3.7-Alpha</Version> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.3" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<None Include="../README.md" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Fonlow.Testing.Basic\Fonlow.Testing.Basic.csproj" /> | ||
<ProjectReference Include="..\Fonlow.Testing.Utilities\Fonlow.Testing.Utilities.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.