Skip to content
Merged
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
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Changelog
# Changelog

## v4.1.1

### 🛠 Technical

- Internal packages (such as NotoriousTest.Runtimes|Watchdog|SqliteRegistry|TestSettings) are now includes in NotoriousTest.
And can no longer be downloaded via Nuget Packages.

## v4.1.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Clean NuGet cache
# Clean NuGet cache
Write-Host "Cleaning NuGet cache..."
Remove-Item -Recurse -Force "$env:USERPROFILE\.nuget\packages\notorioustest.core" -ErrorAction SilentlyContinue

Expand All @@ -8,17 +8,17 @@ dotnet publish ./DoggyDog/DoggyDog.csproj `
-r win-x64 `
--self-contained `
-p:PublishSingleFile=true `
-o ./tools/win-x64
-o ./artifacts/doggydog/win-x64

# Publish DoggyDog for Linux
Write-Host "Publishing DoggyDog for linux-x64..."
dotnet publish ./DoggyDog/DoggyDog.csproj `
-r linux-x64 `
--self-contained `
-p:PublishSingleFile=true `
-o ./tools/linux-x64
-o ./artifacts/doggydog/linux-x64

# Pack NotoriousTest.Core
Write-Host "Packing TestFrameworks..."
Write-Host "Packing nugets..."
dotnet pack ./NotoriousTest.slnx -o ./local-packages --version-suffix local
Write-Host "Done!"
Write-Host "Done!"
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<PackageIcon>icon.png</PackageIcon>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<VersionPrefix>4.1.0</VersionPrefix>
<VersionPrefix>4.1.1</VersionPrefix>
</PropertyGroup>
</Project>
10 changes: 5 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
Expand All @@ -20,9 +20,9 @@
<PackageVersion Include="MSTest" Version="3.8.3" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.8.3" />
<PackageVersion Include="MSTest.TestFramework" Version="3.8.3" />
<PackageVersion Include="NotoriousTest.SqlServer" Version="4.0.1" />
<PackageVersion Include="NotoriousTest.Web" Version="4.0.1" />
<PackageVersion Include="NotoriousTest.XUnit" Version="4.0.1" />
<PackageVersion Include="NotoriousTest.SqlServer" Version="4.1.0" />
<PackageVersion Include="NotoriousTest.Web" Version="4.1.0" />
<PackageVersion Include="NotoriousTest.XUnit" Version="4.1.0" />
<PackageVersion Include="Npgsql" Version="10.0.2" />
<PackageVersion Include="Respawn" Version="7.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
Expand All @@ -39,4 +39,4 @@
<PackageVersion Include="NUnit" Version="4.3.2" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>
</Project>
</Project>
7 changes: 2 additions & 5 deletions NotoriousTest.Runtime/NotoriousTest.Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Description>Runtime provider used by NotoriousTest.</Description>
<PackageId>NotoriousTest.Runtime</PackageId>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Description>Sqlite Infrastructure Registry used by NotoriousTest.</Description>
<PackageId>NotoriousTest.SqlLiteRegistry</PackageId>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\NotoriousTest.Core\NotoriousTest.Core.csproj" />
Expand Down
7 changes: 2 additions & 5 deletions NotoriousTest.TestSettings/NotoriousTest.TestSettings.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Description>Test Settings Provider used by NotoriousTest.</Description>
<PackageId>NotoriousTest.TestSettings</PackageId>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\NotoriousTest.Core\NotoriousTest.Core.csproj" />
Expand Down
7 changes: 2 additions & 5 deletions NotoriousTest.Watchdog/NotoriousTest.Watchdog.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Description>Watchdog provider used by NotoriousTest.</Description>
<PackageId>NotoriousTest.Watchdog</PackageId>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\NotoriousTest.Core\NotoriousTest.Core.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion NotoriousTest.slnx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Solution>
<Folder Name="/Commands/">
<File Path="commands.json" />
<File Path="Commands/publish-doggydog.ps1" />
<File Path="Commands/publish-local-nugets.ps1" />
</Folder>
<Folder Name="/Docs/">
<File Path=".gitignore" />
Expand Down
8 changes: 4 additions & 4 deletions NotoriousTest/NotoriousTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NotoriousTest.Core\NotoriousTest.Core.csproj" />
<ProjectReference Include="..\NotoriousTest.Runtime\NotoriousTest.Runtime.csproj" />
<ProjectReference Include="..\NotoriousTest.SqlLiteRegistry\NotoriousTest.SqlLiteRegistry.csproj" />
<ProjectReference Include="..\NotoriousTest.TestSettings\NotoriousTest.TestSettings.csproj" />
<ProjectReference Include="..\NotoriousTest.Watchdog\NotoriousTest.Watchdog.csproj" />
<ProjectReference Include="..\NotoriousTest.Runtime\NotoriousTest.Runtime.csproj" PrivateAssets="contentfiles;analyzers;build;native"/>
<ProjectReference Include="..\NotoriousTest.SqlLiteRegistry\NotoriousTest.SqlLiteRegistry.csproj" PrivateAssets="contentfiles;analyzers;build;native"/>
<ProjectReference Include="..\NotoriousTest.TestSettings\NotoriousTest.TestSettings.csproj" PrivateAssets="contentfiles;analyzers;build;native"/>
<ProjectReference Include="..\NotoriousTest.Watchdog\NotoriousTest.Watchdog.csproj" PrivateAssets="contentfiles;analyzers;build;native"/>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Samples/NotoriousTest.Sample.XUnit/SampleTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using NotoriousTest.Sample.XUnit.Environments;
using NotoriousTest.Sample.XUnit.Environments;
using NotoriousTest.Sample.XUnit.Infrastructures;
using NotoriousTest.Web;
using NotoriousTest.XUnit;
Expand Down Expand Up @@ -67,4 +67,4 @@ public async Task Test2()
}
}
}
}
}
8 changes: 4 additions & 4 deletions commands.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
{
"commands": {
"Publish DoggyDog": {
"Publish Local Nugets": {
"fileName": "powershell",
"workingDirectory": ".",
"arguments": "-ExecutionPolicy Bypass -File ./Commands/publish-doggydog.ps1"
"arguments": "-ExecutionPolicy Bypass -File ./Commands/publish-local-nugets.ps1"
}
}
}
}
Loading