diff --git a/.nuke/Build.Compile.cs b/.nuke/Build.Compile.cs index a17d533264e5d37bef9d18eb7b9bce0deba84e22..9944cf7ee8f8e4870627ae5b433b737e33351528 100644 --- a/.nuke/Build.Compile.cs +++ b/.nuke/Build.Compile.cs @@ -3,9 +3,6 @@ using Nuke.Common.IO; using Nuke.Common.Tools.DotNet; using Nuke.Common.Utilities.Collections; using Serilog; -using static Nuke.Common.Tools.DotNet.DotNetTasks; - -namespace SuCoS.Nuke; /// /// This is the main build file for the project. @@ -30,8 +27,8 @@ sealed partial class Build : NukeBuild .After(Clean) .Executes(() => { - _ = DotNetRestore(s => s - .SetProjectFile(solution)); + _ = DotNetTasks.DotNetRestore(s => DotNetRestoreSettingsExtensions + .SetProjectFile(s, solution)); }); Target Compile => td => td @@ -40,11 +37,11 @@ sealed partial class Build : NukeBuild { Log.Debug("Configuration {Configuration}", configurationSet); Log.Debug("configuration {configuration}", configuration); - _ = DotNetBuild(s => s - .SetNoLogo(true) + _ = DotNetTasks.DotNetBuild(s => DotNetBuildSettingsExtensions + .SetNoLogo(s, true) .SetProjectFile(solution) .SetConfiguration(configurationSet) .EnableNoRestore() - ); + ); }); -} +} \ No newline at end of file diff --git a/.nuke/Build.Container.cs b/.nuke/Build.Container.cs index 35b795ebe3abf4a3ae97ec1975a0261c5cab5350..401ac1756e6c9c56a345c7f94ad56ce42cd3bcc8 100644 --- a/.nuke/Build.Container.cs +++ b/.nuke/Build.Container.cs @@ -1,12 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; using Nuke.Common; using Nuke.Common.Tooling; using Nuke.Common.Tools.Docker; using Serilog; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace SuCoS.Nuke; /// /// This is the main build file for the project. @@ -50,7 +48,7 @@ sealed partial class Build : NukeBuild Log.Debug(output); } }) - ); + ); }); string BaseImage => runtimeIdentifier switch @@ -83,8 +81,8 @@ sealed partial class Build : NukeBuild } var tags = tagsOriginal.Select(tag => string.IsNullOrEmpty(tag) - ? $"{ContainerRuntimeIdentifier.Item1}" - : $"{ContainerRuntimeIdentifier.Item1}-{tag}").ToList(); + ? $"{ContainerRuntimeIdentifier.Item1}" + : $"{ContainerRuntimeIdentifier.Item1}-{tag}").ToList(); if (containerDefaultRID == runtimeIdentifier) { tags.AddRange(tagsOriginal); @@ -92,4 +90,4 @@ sealed partial class Build : NukeBuild return tags; } -} +} \ No newline at end of file diff --git a/.nuke/Build.GitLab.cs b/.nuke/Build.GitLab.cs index 75519727fe893f635bd1904008c4aba64f830a9c..0dd88e6205d0eb207329c7ac2e1c857168669e5a 100644 --- a/.nuke/Build.GitLab.cs +++ b/.nuke/Build.GitLab.cs @@ -1,9 +1,3 @@ -using Nuke.Common; -using Nuke.Common.CI.GitLab; -using Nuke.Common.IO; -using Nuke.Common.Tools.Docker; -using Nuke.Common.Tools.Git; -using Serilog; using System; using System.Globalization; using System.IO; @@ -11,8 +5,12 @@ using System.IO.Compression; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; - -namespace SuCoS.Nuke; +using Nuke.Common; +using Nuke.Common.CI.GitLab; +using Nuke.Common.IO; +using Nuke.Common.Tools.Docker; +using Nuke.Common.Tools.Git; +using Serilog; /// /// This is the main build file for the project. @@ -69,7 +67,7 @@ sealed partial class Build : NukeBuild filter: x => !x.HasExtension("pdb", "xml"), compressionLevel: CompressionLevel.Optimal, fileMode: FileMode.Create // overwrite if exists - ); + ); } catch (Exception ex) { @@ -174,14 +172,14 @@ sealed partial class Build : NukeBuild .SetServer("registry.gitlab.com") .SetUsername("gitlab-ci-token") .SetPassword(GitLab.JobToken) - ); + ); // Push the container images foreach (var tag in tags) { _ = DockerTasks.DockerPush(_ => _ .SetName($"{ContainerRegistryImage}:{tag}") - ); + ); // Create a link to the GitLab release var tagLink = GitLabAPIUrl($"?orderBy=NAME&sort=asc&search[]={tag}"); @@ -239,4 +237,4 @@ sealed partial class Build : NukeBuild throw; } } -} +} \ No newline at end of file diff --git a/.nuke/Build.Publish.cs b/.nuke/Build.Publish.cs index daa7b85f84bf06b24e49ee452d2ba0e0a1a5d5de..12a71be33643e971c0bfb20be6072b440b3ab801 100644 --- a/.nuke/Build.Publish.cs +++ b/.nuke/Build.Publish.cs @@ -1,9 +1,6 @@ using Nuke.Common; using Nuke.Common.IO; using Nuke.Common.Tools.DotNet; -using static Nuke.Common.Tools.DotNet.DotNetTasks; - -namespace SuCoS.Nuke; /// /// This is the main build file for the project. @@ -34,19 +31,19 @@ sealed partial class Build : NukeBuild .After(Restore) .Executes(() => { - _ = DotNetPublish(s => s - .SetNoLogo(true) - .SetProject("source/SuCoS.csproj") - .SetConfiguration(configurationSet) - .SetOutput(PublishDirectory) - .SetRuntime(runtimeIdentifier) - .SetSelfContained(publishSelfContained) - .SetPublishSingleFile(publishSingleFile) - .SetPublishTrimmed(publishTrimmed) - .SetPublishReadyToRun(publishReadyToRun) - .SetVersion(CurrentVersion) - .SetAssemblyVersion(CurrentVersion) - .SetInformationalVersion(CurrentVersion) - ); + _ = DotNetTasks.DotNetPublish(s => DotNetPublishSettingsExtensions + .SetNoLogo(s, true) + .SetProject("source/SuCoS.csproj") + .SetConfiguration(configurationSet) + .SetOutput(PublishDirectory) + .SetRuntime(runtimeIdentifier) + .SetSelfContained(publishSelfContained) + .SetPublishSingleFile(publishSingleFile) + .SetPublishTrimmed(publishTrimmed) + .SetPublishReadyToRun(publishReadyToRun) + .SetVersion(CurrentVersion) + .SetAssemblyVersion(CurrentVersion) + .SetInformationalVersion(CurrentVersion) + ); }); -} +} \ No newline at end of file diff --git a/.nuke/Build.Solution.cs b/.nuke/Build.Solution.cs index c6a80908e8f7b90ae736c5c0b859bf52915cb617..17c3193a48ea4072558cb7001c26b65fd7339cbc 100644 --- a/.nuke/Build.Solution.cs +++ b/.nuke/Build.Solution.cs @@ -2,8 +2,6 @@ using Nuke.Common; using Nuke.Common.IO; using Nuke.Common.ProjectModel; -namespace SuCoS.Nuke; - /// /// This is the main build file for the project. /// This partial is responsible for the solution-wide variables. @@ -18,4 +16,4 @@ sealed partial class Build : NukeBuild readonly Solution solution; static AbsolutePath sourceDirectory => RootDirectory / "source"; -} +} \ No newline at end of file diff --git a/.nuke/Build.Test.cs b/.nuke/Build.Test.cs index 6570230da9e3c37c8a19bea8edc7e49cc45fede3..fb23f5d6fbf66e032ab140932e379b12a010089d 100644 --- a/.nuke/Build.Test.cs +++ b/.nuke/Build.Test.cs @@ -1,15 +1,9 @@ +using System; using Nuke.Common; using Nuke.Common.IO; using Nuke.Common.Tools.Coverlet; -using Nuke.Common.Tools.DotNet; -using Nuke.Common.Tools.OpenCover; using Nuke.Common.Tools.ReportGenerator; using Serilog; -using System; -using static Nuke.Common.Tools.Coverlet.CoverletTasks; -using static Nuke.Common.Tools.ReportGenerator.ReportGeneratorTasks; - -namespace SuCoS.Nuke; /// /// This is the main build file for the project. @@ -17,9 +11,9 @@ namespace SuCoS.Nuke; /// sealed partial class Build : NukeBuild { - static AbsolutePath testDirectory => RootDirectory / "Tests"; + static AbsolutePath testDirectory => RootDirectory / "test"; static AbsolutePath testDLLDirectory => testDirectory / "bin" / "Debug" / "net8.0"; - static AbsolutePath testAssembly => testDLLDirectory / "Tests.dll"; + static AbsolutePath testAssembly => testDLLDirectory / "test.dll"; static AbsolutePath coverageDirectory => RootDirectory / "coverage-results"; static AbsolutePath coverageResultDirectory => coverageDirectory / "coverage"; static AbsolutePath coverageResultFile => coverageResultDirectory / "coverage.xml"; @@ -31,15 +25,15 @@ sealed partial class Build : NukeBuild .Executes(() => { _ = coverageResultDirectory.CreateDirectory(); - _ = Coverlet(s => s - .SetTarget("dotnet") - .SetTargetArgs("test --no-build --no-restore") - .SetAssembly(testAssembly) - // .SetThreshold(75) - .SetOutput(coverageResultFile) - .SetFormat(CoverletOutputFormat.cobertura) - .SetExcludeByFile(["**/*.g.cs"]) // Exclude source generated files - ); + _ = CoverletTasks.Coverlet(s => CoverletSettingsExtensions + .SetTarget(s, "dotnet") + .SetTargetArgs("test --no-build --no-restore") + .SetAssembly(testAssembly) + // .SetThreshold(75) + .SetOutput(coverageResultFile) + .SetFormat(CoverletOutputFormat.cobertura) + .SetExcludeByFile(["**/*.g.cs"]) // Exclude source generated files + ); }); public Target TestReport => td => td @@ -47,12 +41,12 @@ sealed partial class Build : NukeBuild .Executes(() => { _ = coverageReportDirectory.CreateDirectory(); - _ = ReportGenerator(s => s - .SetTargetDirectory(coverageReportDirectory) - .SetReportTypes([ReportTypes.Html, ReportTypes.TextSummary]) - .SetReports(coverageResultFile) - ); + _ = ReportGeneratorTasks.ReportGenerator(s => ReportGeneratorSettingsExtensions + .SetTargetDirectory(s, coverageReportDirectory) + .SetReportTypes([ReportTypes.Html, ReportTypes.TextSummary]) + .SetReports(coverageResultFile) + ); var summaryText = coverageReportSummaryDirectory.ReadAllLines(); Log.Information(string.Join(Environment.NewLine, summaryText)); }); -} +} \ No newline at end of file diff --git a/.nuke/Build.Version.cs b/.nuke/Build.Version.cs index 521e76c0dd0abe1205953caf9168986573172201..da598b75df8f12f3e8119af0da963de418e46dd6 100644 --- a/.nuke/Build.Version.cs +++ b/.nuke/Build.Version.cs @@ -1,10 +1,8 @@ +using System.Linq; using Nuke.Common; using Nuke.Common.Tools.Git; using Nuke.Common.Tools.GitVersion; using Serilog; -using System.Linq; - -namespace SuCoS.Nuke; /// /// This is the main build file for the project. diff --git a/.nuke/Build.cs b/.nuke/Build.cs index a7e1ec21c03e7ef5c5af9fb8a9e4c855d28e38e3..2f5973eaf982f93d597eafa0883871722f25ecd3 100644 --- a/.nuke/Build.cs +++ b/.nuke/Build.cs @@ -1,8 +1,6 @@ using Nuke.Common; using Nuke.Common.CI; -namespace SuCoS.Nuke; - /// /// This is the main build file for the project. /// @@ -10,4 +8,4 @@ namespace SuCoS.Nuke; sealed partial class Build : NukeBuild { static int Main() => Execute(x => x.Compile); -} +} \ No newline at end of file diff --git a/.nuke/Configuration.cs b/.nuke/Configuration.cs index 5253daa3430a49c7b18cbb614f84115e79164185..d7d456d10b92b3dd4326a9ee0c057b67d3887bf3 100644 --- a/.nuke/Configuration.cs +++ b/.nuke/Configuration.cs @@ -1,7 +1,5 @@ -using Nuke.Common.Tooling; using System.ComponentModel; - -namespace SuCoS.Nuke; +using Nuke.Common.Tooling; [TypeConverter(typeof(TypeConverter))] public class Configuration : Enumeration @@ -10,4 +8,4 @@ public class Configuration : Enumeration public static Configuration Release { get; set; } = new() { Value = nameof(Release) }; public static implicit operator string(Configuration configuration) => configuration?.Value; -} +} \ No newline at end of file diff --git a/SuCoS.sln b/SuCoS.sln index 49c59b38401d54723fcb0916f91f695d9399833d..0974c4cd732ea739a5d2adcb79515e0661bb3a33 100644 --- a/SuCoS.sln +++ b/SuCoS.sln @@ -9,7 +9,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SuCoS", "source\SuCoS.cspro EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_nuke", ".nuke\_nuke.csproj", "{26DB04F6-DA88-43D7-8F4B-535D4D68C24E}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{F3D789FD-6AC5-4A45-B9AC-079035F5909C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "test", "test\test.csproj", "{F3D789FD-6AC5-4A45-B9AC-079035F5909C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/source/AssemblyInfo.cs b/source/AssemblyInfo.cs index 9ead8d2ec9dd109d5f255978d68c36649d0a2a69..52f99c758e3bb4e1b0f5a3dc95f691d51c897051 100644 --- a/source/AssemblyInfo.cs +++ b/source/AssemblyInfo.cs @@ -1,3 +1,3 @@ using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Tests")] +[assembly: InternalsVisibleTo("test")] diff --git a/source/Commands/ServeCommand.cs b/source/Commands/ServeCommand.cs index 253c8ce143fb992970cae98da9031285d87671d7..02fd4ca5be27aff0aed1f483f9999aa39aa6e632 100644 --- a/source/Commands/ServeCommand.cs +++ b/source/Commands/ServeCommand.cs @@ -54,7 +54,7 @@ public sealed class ServeCommand : BaseGeneratorCommand, IDisposable private Task? _loop; - private (WatcherChangeTypes changeType, string fullPath, DateTime dateTime) lastFileChanged; + private (WatcherChangeTypes changeType, string fullPath, DateTime dateTime) _lastFileChanged; /// /// Constructor for the ServeCommand class. @@ -75,30 +75,13 @@ public sealed class ServeCommand : BaseGeneratorCommand, IDisposable fileWatcher.Start(sourceAbsolutePath, OnSourceFileChanged); } - /// - /// Starts the server asynchronously. - /// - public void StartServer() - { - StartServer(BaseUrlDefault, PortDefault); - } - - /// - /// Starts the server asynchronously. - /// - /// - public void StartServer(string baseUrl) - { - StartServer(baseUrl, PortDefault); - } - /// /// Starts the server asynchronously. /// /// The base URL for the server. /// The port number for the server. /// A Task representing the asynchronous operation. - public void StartServer(string baseUrl, int port) + public void StartServer(string baseUrl = BaseUrlDefault, int port = PortDefault) { Logger.Information("Starting server..."); @@ -156,7 +139,6 @@ public sealed class ServeCommand : BaseGeneratorCommand, IDisposable _listener?.Close(); _fileWatcher.Stop(); _debounceTimer?.Dispose(); - GC.SuppressFinalize(this); } /// @@ -254,14 +236,14 @@ public sealed class ServeCommand : BaseGeneratorCommand, IDisposable return; } - if (lastFileChanged.fullPath == e.FullPath - && e.ChangeType == lastFileChanged.changeType - && (DateTime.Now - lastFileChanged.dateTime).TotalMilliseconds < 150) + if (_lastFileChanged.fullPath == e.FullPath + && e.ChangeType == _lastFileChanged.changeType + && (DateTime.Now - _lastFileChanged.dateTime).TotalMilliseconds < 150) { return; } - lastFileChanged = (e.ChangeType, e.FullPath, DateTime.Now); + _lastFileChanged = (e.ChangeType, e.FullPath, DateTime.Now); // File changes are firing multiple events in a short time. // Debounce the event handler to prevent multiple events from firing in a short time diff --git a/source/Helpers/SourceFileWatcher.cs b/source/Helpers/SourceFileWatcher.cs index 794223eac640b26f153b78b14962da90a71a1e6e..b742760694b28b021eb734519a37ed47119ca7fc 100644 --- a/source/Helpers/SourceFileWatcher.cs +++ b/source/Helpers/SourceFileWatcher.cs @@ -27,9 +27,9 @@ public sealed class SourceFileWatcher : IFileWatcher, IDisposable }; // Subscribe to the desired events - _fileWatcher.Changed += new FileSystemEventHandler(onSourceFileChanged.Invoke); - _fileWatcher.Created += new FileSystemEventHandler(onSourceFileChanged.Invoke); - _fileWatcher.Deleted += new FileSystemEventHandler(onSourceFileChanged.Invoke); + _fileWatcher.Changed += onSourceFileChanged.Invoke; + _fileWatcher.Created += onSourceFileChanged.Invoke; + _fileWatcher.Deleted += onSourceFileChanged.Invoke; _fileWatcher.Renamed += new RenamedEventHandler(onSourceFileChanged); } @@ -43,7 +43,6 @@ public sealed class SourceFileWatcher : IFileWatcher, IDisposable public void Dispose() { Dispose(true); - GC.SuppressFinalize(this); } private void Dispose(bool disposing) diff --git a/source/Models/IFile.cs b/source/Models/IFile.cs index fe2b8174b6de60f62297a58d7adbbd494c03ed93..69000c1152e50b944324a7e4328fb25e240840c2 100644 --- a/source/Models/IFile.cs +++ b/source/Models/IFile.cs @@ -1,7 +1,6 @@ using FolkerKinzel.MimeTypes; - -// using Microsoft.AspNetCore.StaticFiles; using SuCoS.Helpers; +// using Microsoft.AspNetCore.StaticFiles; namespace SuCoS.Models; @@ -43,7 +42,7 @@ public interface IFile /// /// File MIME type. /// - string MimeType => MimeString.FromFileName(SourceFullPath) ?? "application/octet-stream"; + string MimeType => MimeString.FromFileName(SourceFullPath); /// /// File size in bytes. diff --git a/source/ServerHandlers/StaticFileRequest.cs b/source/ServerHandlers/StaticFileRequest.cs index 67abd35a50b3e5d871a2a1e5e730785911b2d28c..a6a8116c62a4434c189545ef3bc4cd7a4e1530b3 100644 --- a/source/ServerHandlers/StaticFileRequest.cs +++ b/source/ServerHandlers/StaticFileRequest.cs @@ -5,33 +5,19 @@ namespace SuCoS.ServerHandlers; /// /// Check if it is one of the Static files (serve the actual file) /// -public class StaticFileRequest : IServerHandlers +public class StaticFileRequest(string? basePath, bool inTheme) : IServerHandlers { - private readonly string? _basePath; - private readonly bool _inTheme; - - /// - /// Constructor - /// - /// - /// - public StaticFileRequest(string? basePath, bool inTheme) - { - _basePath = basePath; - _inTheme = inTheme; - } - /// public bool Check(string requestPath) { ArgumentNullException.ThrowIfNull(requestPath); - if (string.IsNullOrEmpty(_basePath)) + if (string.IsNullOrEmpty(basePath)) { return false; } - var fileAbsolutePath = Path.Combine(_basePath, requestPath.TrimStart('/')); + var fileAbsolutePath = Path.Combine(basePath, requestPath.TrimStart('/')); return File.Exists(fileAbsolutePath); } @@ -41,12 +27,12 @@ public class StaticFileRequest : IServerHandlers ArgumentNullException.ThrowIfNull(requestPath); ArgumentNullException.ThrowIfNull(response); - var fileAbsolutePath = Path.Combine(_basePath!, requestPath.TrimStart('/')); + var fileAbsolutePath = Path.Combine(basePath!, requestPath.TrimStart('/')); response.ContentType = GetContentType(fileAbsolutePath); await using var fileStream = new FileStream(fileAbsolutePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); response.ContentLength64 = fileStream.Length; await fileStream.CopyToAsync(response.OutputStream).ConfigureAwait(false); - return _inTheme ? "themeSt" : "static"; + return inTheme ? "themeSt" : "static"; } /// @@ -55,6 +41,5 @@ public class StaticFileRequest : IServerHandlers /// /// The path of the file. /// The content type of the file. - private static string GetContentType(string filePath) => - MimeString.FromFileName(filePath) ?? "application/octet-stream"; + private static string GetContentType(string filePath) => MimeString.FromFileName(filePath); } diff --git a/Tests/.TestSites/01/content/categories.md b/test/.TestSites/01/content/categories.md similarity index 100% rename from Tests/.TestSites/01/content/categories.md rename to test/.TestSites/01/content/categories.md diff --git a/Tests/.TestSites/01/content/date-future.md b/test/.TestSites/01/content/date-future.md similarity index 100% rename from Tests/.TestSites/01/content/date-future.md rename to test/.TestSites/01/content/date-future.md diff --git a/Tests/.TestSites/01/content/date-ok.md b/test/.TestSites/01/content/date-ok.md similarity index 100% rename from Tests/.TestSites/01/content/date-ok.md rename to test/.TestSites/01/content/date-ok.md diff --git a/Tests/.TestSites/01/content/expired.md b/test/.TestSites/01/content/expired.md similarity index 100% rename from Tests/.TestSites/01/content/expired.md rename to test/.TestSites/01/content/expired.md diff --git a/Tests/.TestSites/01/content/publishdate-future.md b/test/.TestSites/01/content/publishdate-future.md similarity index 100% rename from Tests/.TestSites/01/content/publishdate-future.md rename to test/.TestSites/01/content/publishdate-future.md diff --git a/Tests/.TestSites/01/content/publishdate-ok.md b/test/.TestSites/01/content/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/01/content/publishdate-ok.md rename to test/.TestSites/01/content/publishdate-ok.md diff --git a/Tests/.TestSites/01/content/test01.md b/test/.TestSites/01/content/test01.md similarity index 100% rename from Tests/.TestSites/01/content/test01.md rename to test/.TestSites/01/content/test01.md diff --git a/Tests/.TestSites/01/sucos.yaml b/test/.TestSites/01/sucos.yaml similarity index 100% rename from Tests/.TestSites/01/sucos.yaml rename to test/.TestSites/01/sucos.yaml diff --git a/Tests/.TestSites/02-have-index/content/alias.md b/test/.TestSites/02-have-index/content/alias.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/alias.md rename to test/.TestSites/02-have-index/content/alias.md diff --git a/Tests/.TestSites/02-have-index/content/categories.md b/test/.TestSites/02-have-index/content/categories.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/categories.md rename to test/.TestSites/02-have-index/content/categories.md diff --git a/Tests/.TestSites/02-have-index/content/date-future.md b/test/.TestSites/02-have-index/content/date-future.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/date-future.md rename to test/.TestSites/02-have-index/content/date-future.md diff --git a/Tests/.TestSites/02-have-index/content/date-ok.md b/test/.TestSites/02-have-index/content/date-ok.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/date-ok.md rename to test/.TestSites/02-have-index/content/date-ok.md diff --git a/Tests/.TestSites/02-have-index/content/expired.md b/test/.TestSites/02-have-index/content/expired.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/expired.md rename to test/.TestSites/02-have-index/content/expired.md diff --git a/Tests/.TestSites/02-have-index/content/index.md b/test/.TestSites/02-have-index/content/index.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/index.md rename to test/.TestSites/02-have-index/content/index.md diff --git a/Tests/.TestSites/02-have-index/content/publishdate-future.md b/test/.TestSites/02-have-index/content/publishdate-future.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/publishdate-future.md rename to test/.TestSites/02-have-index/content/publishdate-future.md diff --git a/Tests/.TestSites/02-have-index/content/publishdate-ok.md b/test/.TestSites/02-have-index/content/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/publishdate-ok.md rename to test/.TestSites/02-have-index/content/publishdate-ok.md diff --git a/Tests/.TestSites/02-have-index/content/test01.md b/test/.TestSites/02-have-index/content/test01.md similarity index 100% rename from Tests/.TestSites/02-have-index/content/test01.md rename to test/.TestSites/02-have-index/content/test01.md diff --git a/Tests/.TestSites/02-have-index/sucos.yaml b/test/.TestSites/02-have-index/sucos.yaml similarity index 100% rename from Tests/.TestSites/02-have-index/sucos.yaml rename to test/.TestSites/02-have-index/sucos.yaml diff --git a/Tests/.TestSites/03-section/content/blog/alias.md b/test/.TestSites/03-section/content/blog/alias.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/alias.md rename to test/.TestSites/03-section/content/blog/alias.md diff --git a/Tests/.TestSites/03-section/content/blog/categories.md b/test/.TestSites/03-section/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/categories.md rename to test/.TestSites/03-section/content/blog/categories.md diff --git a/Tests/.TestSites/03-section/content/blog/date-future.md b/test/.TestSites/03-section/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/date-future.md rename to test/.TestSites/03-section/content/blog/date-future.md diff --git a/Tests/.TestSites/03-section/content/blog/date-ok.md b/test/.TestSites/03-section/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/date-ok.md rename to test/.TestSites/03-section/content/blog/date-ok.md diff --git a/Tests/.TestSites/03-section/content/blog/expired.md b/test/.TestSites/03-section/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/expired.md rename to test/.TestSites/03-section/content/blog/expired.md diff --git a/Tests/.TestSites/03-section/content/blog/publishdate-future.md b/test/.TestSites/03-section/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/publishdate-future.md rename to test/.TestSites/03-section/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/03-section/content/blog/publishdate-ok.md b/test/.TestSites/03-section/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/publishdate-ok.md rename to test/.TestSites/03-section/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/03-section/content/blog/test01.md b/test/.TestSites/03-section/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/test01.md rename to test/.TestSites/03-section/content/blog/test01.md diff --git a/Tests/.TestSites/03-section/content/blog/weight-negative-1.md b/test/.TestSites/03-section/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/weight-negative-1.md rename to test/.TestSites/03-section/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/03-section/content/blog/weight-negative-100.md b/test/.TestSites/03-section/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/weight-negative-100.md rename to test/.TestSites/03-section/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/03-section/content/blog/weight-positive-1.md b/test/.TestSites/03-section/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/weight-positive-1.md rename to test/.TestSites/03-section/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/03-section/content/blog/weight-positive-100.md b/test/.TestSites/03-section/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/03-section/content/blog/weight-positive-100.md rename to test/.TestSites/03-section/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/03-section/sucos.yaml b/test/.TestSites/03-section/sucos.yaml similarity index 100% rename from Tests/.TestSites/03-section/sucos.yaml rename to test/.TestSites/03-section/sucos.yaml diff --git a/Tests/.TestSites/04-tags/content/blog/categories.md b/test/.TestSites/04-tags/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/categories.md rename to test/.TestSites/04-tags/content/blog/categories.md diff --git a/Tests/.TestSites/04-tags/content/blog/date-future.md b/test/.TestSites/04-tags/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/date-future.md rename to test/.TestSites/04-tags/content/blog/date-future.md diff --git a/Tests/.TestSites/04-tags/content/blog/date-ok.md b/test/.TestSites/04-tags/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/date-ok.md rename to test/.TestSites/04-tags/content/blog/date-ok.md diff --git a/Tests/.TestSites/04-tags/content/blog/expired.md b/test/.TestSites/04-tags/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/expired.md rename to test/.TestSites/04-tags/content/blog/expired.md diff --git a/Tests/.TestSites/04-tags/content/blog/publishdate-future.md b/test/.TestSites/04-tags/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/publishdate-future.md rename to test/.TestSites/04-tags/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/04-tags/content/blog/publishdate-ok.md b/test/.TestSites/04-tags/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/publishdate-ok.md rename to test/.TestSites/04-tags/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/04-tags/content/blog/subsection/alias.md b/test/.TestSites/04-tags/content/blog/subsection/alias.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/subsection/alias.md rename to test/.TestSites/04-tags/content/blog/subsection/alias.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-01.md b/test/.TestSites/04-tags/content/blog/tags-01.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-01.md rename to test/.TestSites/04-tags/content/blog/tags-01.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-02.md b/test/.TestSites/04-tags/content/blog/tags-02.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-02.md rename to test/.TestSites/04-tags/content/blog/tags-02.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-03.md b/test/.TestSites/04-tags/content/blog/tags-03.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-03.md rename to test/.TestSites/04-tags/content/blog/tags-03.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-04.md b/test/.TestSites/04-tags/content/blog/tags-04.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-04.md rename to test/.TestSites/04-tags/content/blog/tags-04.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-05.md b/test/.TestSites/04-tags/content/blog/tags-05.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-05.md rename to test/.TestSites/04-tags/content/blog/tags-05.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-06.md b/test/.TestSites/04-tags/content/blog/tags-06.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-06.md rename to test/.TestSites/04-tags/content/blog/tags-06.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-07.md b/test/.TestSites/04-tags/content/blog/tags-07.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-07.md rename to test/.TestSites/04-tags/content/blog/tags-07.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-08.md b/test/.TestSites/04-tags/content/blog/tags-08.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-08.md rename to test/.TestSites/04-tags/content/blog/tags-08.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-09.md b/test/.TestSites/04-tags/content/blog/tags-09.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-09.md rename to test/.TestSites/04-tags/content/blog/tags-09.md diff --git a/Tests/.TestSites/04-tags/content/blog/tags-10.md b/test/.TestSites/04-tags/content/blog/tags-10.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/tags-10.md rename to test/.TestSites/04-tags/content/blog/tags-10.md diff --git a/Tests/.TestSites/04-tags/content/blog/test01.md b/test/.TestSites/04-tags/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/test01.md rename to test/.TestSites/04-tags/content/blog/test01.md diff --git a/Tests/.TestSites/04-tags/content/blog/weight-negative-1.md b/test/.TestSites/04-tags/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/weight-negative-1.md rename to test/.TestSites/04-tags/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/04-tags/content/blog/weight-negative-100.md b/test/.TestSites/04-tags/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/weight-negative-100.md rename to test/.TestSites/04-tags/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/04-tags/content/blog/weight-positive-1.md b/test/.TestSites/04-tags/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/weight-positive-1.md rename to test/.TestSites/04-tags/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/04-tags/content/blog/weight-positive-100.md b/test/.TestSites/04-tags/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/04-tags/content/blog/weight-positive-100.md rename to test/.TestSites/04-tags/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/04-tags/content/index.md b/test/.TestSites/04-tags/content/index.md similarity index 100% rename from Tests/.TestSites/04-tags/content/index.md rename to test/.TestSites/04-tags/content/index.md diff --git a/Tests/.TestSites/04-tags/sucos.yaml b/test/.TestSites/04-tags/sucos.yaml similarity index 100% rename from Tests/.TestSites/04-tags/sucos.yaml rename to test/.TestSites/04-tags/sucos.yaml diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/alias.md b/test/.TestSites/05-theme-no-baseof/content/blog/alias.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/alias.md rename to test/.TestSites/05-theme-no-baseof/content/blog/alias.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/categories.md b/test/.TestSites/05-theme-no-baseof/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/categories.md rename to test/.TestSites/05-theme-no-baseof/content/blog/categories.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/date-future.md b/test/.TestSites/05-theme-no-baseof/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/date-future.md rename to test/.TestSites/05-theme-no-baseof/content/blog/date-future.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/date-ok.md b/test/.TestSites/05-theme-no-baseof/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/date-ok.md rename to test/.TestSites/05-theme-no-baseof/content/blog/date-ok.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/expired.md b/test/.TestSites/05-theme-no-baseof/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/expired.md rename to test/.TestSites/05-theme-no-baseof/content/blog/expired.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/publishdate-future.md b/test/.TestSites/05-theme-no-baseof/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/publishdate-future.md rename to test/.TestSites/05-theme-no-baseof/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/publishdate-ok.md b/test/.TestSites/05-theme-no-baseof/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/publishdate-ok.md rename to test/.TestSites/05-theme-no-baseof/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/tags-01.md b/test/.TestSites/05-theme-no-baseof/content/blog/tags-01.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/tags-01.md rename to test/.TestSites/05-theme-no-baseof/content/blog/tags-01.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/tags-02.md b/test/.TestSites/05-theme-no-baseof/content/blog/tags-02.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/tags-02.md rename to test/.TestSites/05-theme-no-baseof/content/blog/tags-02.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/test01.md b/test/.TestSites/05-theme-no-baseof/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/test01.md rename to test/.TestSites/05-theme-no-baseof/content/blog/test01.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/weight-negative-1.md b/test/.TestSites/05-theme-no-baseof/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/weight-negative-1.md rename to test/.TestSites/05-theme-no-baseof/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/weight-negative-100.md b/test/.TestSites/05-theme-no-baseof/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/weight-negative-100.md rename to test/.TestSites/05-theme-no-baseof/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/weight-positive-1.md b/test/.TestSites/05-theme-no-baseof/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/weight-positive-1.md rename to test/.TestSites/05-theme-no-baseof/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/blog/weight-positive-100.md b/test/.TestSites/05-theme-no-baseof/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/blog/weight-positive-100.md rename to test/.TestSites/05-theme-no-baseof/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/05-theme-no-baseof/content/index.md b/test/.TestSites/05-theme-no-baseof/content/index.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/content/index.md rename to test/.TestSites/05-theme-no-baseof/content/index.md diff --git a/Tests/.TestSites/05-theme-no-baseof/index.md b/test/.TestSites/05-theme-no-baseof/index.md similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/index.md rename to test/.TestSites/05-theme-no-baseof/index.md diff --git a/Tests/.TestSites/05-theme-no-baseof/sucos.yaml b/test/.TestSites/05-theme-no-baseof/sucos.yaml similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/sucos.yaml rename to test/.TestSites/05-theme-no-baseof/sucos.yaml diff --git a/Tests/.TestSites/05-theme-no-baseof/themes/test/_default/index.liquid b/test/.TestSites/05-theme-no-baseof/themes/test/_default/index.liquid similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/themes/test/_default/index.liquid rename to test/.TestSites/05-theme-no-baseof/themes/test/_default/index.liquid diff --git a/Tests/.TestSites/05-theme-no-baseof/themes/test/_default/list.liquid b/test/.TestSites/05-theme-no-baseof/themes/test/_default/list.liquid similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/themes/test/_default/list.liquid rename to test/.TestSites/05-theme-no-baseof/themes/test/_default/list.liquid diff --git a/Tests/.TestSites/05-theme-no-baseof/themes/test/_default/single.liquid b/test/.TestSites/05-theme-no-baseof/themes/test/_default/single.liquid similarity index 100% rename from Tests/.TestSites/05-theme-no-baseof/themes/test/_default/single.liquid rename to test/.TestSites/05-theme-no-baseof/themes/test/_default/single.liquid diff --git a/Tests/.TestSites/06-theme/content/blog/alias.md b/test/.TestSites/06-theme/content/blog/alias.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/alias.md rename to test/.TestSites/06-theme/content/blog/alias.md diff --git a/Tests/.TestSites/06-theme/content/blog/categories.md b/test/.TestSites/06-theme/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/categories.md rename to test/.TestSites/06-theme/content/blog/categories.md diff --git a/Tests/.TestSites/06-theme/content/blog/date-future.md b/test/.TestSites/06-theme/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/date-future.md rename to test/.TestSites/06-theme/content/blog/date-future.md diff --git a/Tests/.TestSites/06-theme/content/blog/date-ok.md b/test/.TestSites/06-theme/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/date-ok.md rename to test/.TestSites/06-theme/content/blog/date-ok.md diff --git a/Tests/.TestSites/06-theme/content/blog/expired.md b/test/.TestSites/06-theme/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/expired.md rename to test/.TestSites/06-theme/content/blog/expired.md diff --git a/Tests/.TestSites/06-theme/content/blog/publishdate-future.md b/test/.TestSites/06-theme/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/publishdate-future.md rename to test/.TestSites/06-theme/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/06-theme/content/blog/publishdate-ok.md b/test/.TestSites/06-theme/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/publishdate-ok.md rename to test/.TestSites/06-theme/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/06-theme/content/blog/tags-01.md b/test/.TestSites/06-theme/content/blog/tags-01.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/tags-01.md rename to test/.TestSites/06-theme/content/blog/tags-01.md diff --git a/Tests/.TestSites/06-theme/content/blog/tags-02.md b/test/.TestSites/06-theme/content/blog/tags-02.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/tags-02.md rename to test/.TestSites/06-theme/content/blog/tags-02.md diff --git a/Tests/.TestSites/06-theme/content/blog/test01.md b/test/.TestSites/06-theme/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/test01.md rename to test/.TestSites/06-theme/content/blog/test01.md diff --git a/Tests/.TestSites/06-theme/content/blog/weight-negative-1.md b/test/.TestSites/06-theme/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/weight-negative-1.md rename to test/.TestSites/06-theme/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/06-theme/content/blog/weight-negative-100.md b/test/.TestSites/06-theme/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/weight-negative-100.md rename to test/.TestSites/06-theme/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/06-theme/content/blog/weight-positive-1.md b/test/.TestSites/06-theme/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/weight-positive-1.md rename to test/.TestSites/06-theme/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/06-theme/content/blog/weight-positive-100.md b/test/.TestSites/06-theme/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/06-theme/content/blog/weight-positive-100.md rename to test/.TestSites/06-theme/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/06-theme/content/index.md b/test/.TestSites/06-theme/content/index.md similarity index 100% rename from Tests/.TestSites/06-theme/content/index.md rename to test/.TestSites/06-theme/content/index.md diff --git a/Tests/.TestSites/06-theme/index.md b/test/.TestSites/06-theme/index.md similarity index 100% rename from Tests/.TestSites/06-theme/index.md rename to test/.TestSites/06-theme/index.md diff --git a/Tests/.TestSites/06-theme/sucos.yaml b/test/.TestSites/06-theme/sucos.yaml similarity index 100% rename from Tests/.TestSites/06-theme/sucos.yaml rename to test/.TestSites/06-theme/sucos.yaml diff --git a/Tests/.TestSites/06-theme/themes/test/_default/baseof.liquid b/test/.TestSites/06-theme/themes/test/_default/baseof.liquid similarity index 100% rename from Tests/.TestSites/06-theme/themes/test/_default/baseof.liquid rename to test/.TestSites/06-theme/themes/test/_default/baseof.liquid diff --git a/Tests/.TestSites/06-theme/themes/test/_default/index.liquid b/test/.TestSites/06-theme/themes/test/_default/index.liquid similarity index 100% rename from Tests/.TestSites/06-theme/themes/test/_default/index.liquid rename to test/.TestSites/06-theme/themes/test/_default/index.liquid diff --git a/Tests/.TestSites/06-theme/themes/test/_default/list.liquid b/test/.TestSites/06-theme/themes/test/_default/list.liquid similarity index 100% rename from Tests/.TestSites/06-theme/themes/test/_default/list.liquid rename to test/.TestSites/06-theme/themes/test/_default/list.liquid diff --git a/Tests/.TestSites/06-theme/themes/test/_default/single.liquid b/test/.TestSites/06-theme/themes/test/_default/single.liquid similarity index 100% rename from Tests/.TestSites/06-theme/themes/test/_default/single.liquid rename to test/.TestSites/06-theme/themes/test/_default/single.liquid diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/alias.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/alias.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/alias.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/alias.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/categories.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/categories.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/categories.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/date-future.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/date-future.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/date-future.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/date-ok.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/date-ok.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/date-ok.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/expired.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/expired.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/expired.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-future.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-future.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-ok.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-ok.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/tags-01.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/tags-01.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/tags-01.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/tags-01.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/tags-02.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/tags-02.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/tags-02.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/tags-02.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/test01.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/test01.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/test01.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-1.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-1.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-100.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-100.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-1.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-1.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-100.md b/test/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-100.md rename to test/.TestSites/07-theme-no-baseof-error/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/content/index.md b/test/.TestSites/07-theme-no-baseof-error/content/index.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/content/index.md rename to test/.TestSites/07-theme-no-baseof-error/content/index.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/index.md b/test/.TestSites/07-theme-no-baseof-error/index.md similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/index.md rename to test/.TestSites/07-theme-no-baseof-error/index.md diff --git a/Tests/.TestSites/07-theme-no-baseof-error/sucos.yaml b/test/.TestSites/07-theme-no-baseof-error/sucos.yaml similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/sucos.yaml rename to test/.TestSites/07-theme-no-baseof-error/sucos.yaml diff --git a/Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/index.liquid b/test/.TestSites/07-theme-no-baseof-error/themes/test/_default/index.liquid similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/index.liquid rename to test/.TestSites/07-theme-no-baseof-error/themes/test/_default/index.liquid diff --git a/Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/list.liquid b/test/.TestSites/07-theme-no-baseof-error/themes/test/_default/list.liquid similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/list.liquid rename to test/.TestSites/07-theme-no-baseof-error/themes/test/_default/list.liquid diff --git a/Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/single.liquid b/test/.TestSites/07-theme-no-baseof-error/themes/test/_default/single.liquid similarity index 100% rename from Tests/.TestSites/07-theme-no-baseof-error/themes/test/_default/single.liquid rename to test/.TestSites/07-theme-no-baseof-error/themes/test/_default/single.liquid diff --git a/Tests/.TestSites/08-theme-html/content/blog/alias.md b/test/.TestSites/08-theme-html/content/blog/alias.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/alias.md rename to test/.TestSites/08-theme-html/content/blog/alias.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/categories.md b/test/.TestSites/08-theme-html/content/blog/categories.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/categories.md rename to test/.TestSites/08-theme-html/content/blog/categories.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/date-future.md b/test/.TestSites/08-theme-html/content/blog/date-future.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/date-future.md rename to test/.TestSites/08-theme-html/content/blog/date-future.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/date-ok.md b/test/.TestSites/08-theme-html/content/blog/date-ok.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/date-ok.md rename to test/.TestSites/08-theme-html/content/blog/date-ok.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/expired.md b/test/.TestSites/08-theme-html/content/blog/expired.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/expired.md rename to test/.TestSites/08-theme-html/content/blog/expired.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/publishdate-future.md b/test/.TestSites/08-theme-html/content/blog/publishdate-future.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/publishdate-future.md rename to test/.TestSites/08-theme-html/content/blog/publishdate-future.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/publishdate-ok.md b/test/.TestSites/08-theme-html/content/blog/publishdate-ok.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/publishdate-ok.md rename to test/.TestSites/08-theme-html/content/blog/publishdate-ok.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/tags-01.md b/test/.TestSites/08-theme-html/content/blog/tags-01.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/tags-01.md rename to test/.TestSites/08-theme-html/content/blog/tags-01.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/tags-02.md b/test/.TestSites/08-theme-html/content/blog/tags-02.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/tags-02.md rename to test/.TestSites/08-theme-html/content/blog/tags-02.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/test01.md b/test/.TestSites/08-theme-html/content/blog/test01.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/test01.md rename to test/.TestSites/08-theme-html/content/blog/test01.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/weight-negative-1.md b/test/.TestSites/08-theme-html/content/blog/weight-negative-1.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/weight-negative-1.md rename to test/.TestSites/08-theme-html/content/blog/weight-negative-1.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/weight-negative-100.md b/test/.TestSites/08-theme-html/content/blog/weight-negative-100.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/weight-negative-100.md rename to test/.TestSites/08-theme-html/content/blog/weight-negative-100.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/weight-positive-1.md b/test/.TestSites/08-theme-html/content/blog/weight-positive-1.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/weight-positive-1.md rename to test/.TestSites/08-theme-html/content/blog/weight-positive-1.md diff --git a/Tests/.TestSites/08-theme-html/content/blog/weight-positive-100.md b/test/.TestSites/08-theme-html/content/blog/weight-positive-100.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/blog/weight-positive-100.md rename to test/.TestSites/08-theme-html/content/blog/weight-positive-100.md diff --git a/Tests/.TestSites/08-theme-html/content/index.md b/test/.TestSites/08-theme-html/content/index.md similarity index 100% rename from Tests/.TestSites/08-theme-html/content/index.md rename to test/.TestSites/08-theme-html/content/index.md diff --git a/Tests/.TestSites/08-theme-html/index.md b/test/.TestSites/08-theme-html/index.md similarity index 100% rename from Tests/.TestSites/08-theme-html/index.md rename to test/.TestSites/08-theme-html/index.md diff --git a/Tests/.TestSites/08-theme-html/sucos.yaml b/test/.TestSites/08-theme-html/sucos.yaml similarity index 100% rename from Tests/.TestSites/08-theme-html/sucos.yaml rename to test/.TestSites/08-theme-html/sucos.yaml diff --git a/Tests/.TestSites/08-theme-html/themes/test/_default/baseof.liquid b/test/.TestSites/08-theme-html/themes/test/_default/baseof.liquid similarity index 100% rename from Tests/.TestSites/08-theme-html/themes/test/_default/baseof.liquid rename to test/.TestSites/08-theme-html/themes/test/_default/baseof.liquid diff --git a/Tests/.TestSites/08-theme-html/themes/test/_default/index.liquid b/test/.TestSites/08-theme-html/themes/test/_default/index.liquid similarity index 100% rename from Tests/.TestSites/08-theme-html/themes/test/_default/index.liquid rename to test/.TestSites/08-theme-html/themes/test/_default/index.liquid diff --git a/Tests/.TestSites/08-theme-html/themes/test/_default/list.liquid b/test/.TestSites/08-theme-html/themes/test/_default/list.liquid similarity index 100% rename from Tests/.TestSites/08-theme-html/themes/test/_default/list.liquid rename to test/.TestSites/08-theme-html/themes/test/_default/list.liquid diff --git a/Tests/.TestSites/08-theme-html/themes/test/_default/single.liquid b/test/.TestSites/08-theme-html/themes/test/_default/single.liquid similarity index 100% rename from Tests/.TestSites/08-theme-html/themes/test/_default/single.liquid rename to test/.TestSites/08-theme-html/themes/test/_default/single.liquid diff --git a/Tests/Commands/BaseGeneratorCommandTests.cs b/test/Commands/BaseGeneratorCommandTests.cs similarity index 98% rename from Tests/Commands/BaseGeneratorCommandTests.cs rename to test/Commands/BaseGeneratorCommandTests.cs index 7e1a22f58332233903cda86674b561e4ec0c4573..db9f5598c7f74d9bc56bd3c12fc3299572a4c5e1 100644 --- a/Tests/Commands/BaseGeneratorCommandTests.cs +++ b/test/Commands/BaseGeneratorCommandTests.cs @@ -1,13 +1,13 @@ +using System.Reflection; using NSubstitute; using Serilog; -using SuCoS.Models.CommandLineOptions; -using SuCoS.TemplateEngine; -using System.Reflection; using SuCoS.Commands; using SuCoS.Helpers; +using SuCoS.Models.CommandLineOptions; +using SuCoS.TemplateEngine; using Xunit; -namespace Tests.Commands; +namespace test.Commands; public class BaseGeneratorCommandTests { diff --git a/Tests/Commands/BuildCommandTests.cs b/test/Commands/BuildCommandTests.cs similarity index 99% rename from Tests/Commands/BuildCommandTests.cs rename to test/Commands/BuildCommandTests.cs index 10991131995c865b79928f5e8a34aedf3870979c..03893ac289d209ec88c081849d11a87ddf2681af 100644 --- a/Tests/Commands/BuildCommandTests.cs +++ b/test/Commands/BuildCommandTests.cs @@ -1,11 +1,11 @@ -using SuCoS.Models.CommandLineOptions; -using Xunit; using NSubstitute; using Serilog; using SuCoS.Commands; using SuCoS.Helpers; +using SuCoS.Models.CommandLineOptions; +using Xunit; -namespace Tests.Commands; +namespace test.Commands; public class BuildCommandTests { diff --git a/Tests/Commands/NewSiteCommandTests.cs b/test/Commands/NewSiteCommandTests.cs similarity index 99% rename from Tests/Commands/NewSiteCommandTests.cs rename to test/Commands/NewSiteCommandTests.cs index b1480004df3d62dd16eb7707daa5098b878b2c18..c2a7bdc0af9acd91af3d8f2a84e0f19d8d5dbb6b 100644 --- a/Tests/Commands/NewSiteCommandTests.cs +++ b/test/Commands/NewSiteCommandTests.cs @@ -1,12 +1,12 @@ -using SuCoS.Models; -using SuCoS.Models.CommandLineOptions; -using Xunit; using NSubstitute; using Serilog; using SuCoS.Commands; using SuCoS.Helpers; +using SuCoS.Models; +using SuCoS.Models.CommandLineOptions; +using Xunit; -namespace Tests.Commands; +namespace test.Commands; public class NewSiteCommandTests { diff --git a/Tests/Helpers/StopwatchReporterTests.cs b/test/Helpers/StopwatchReporterTests.cs similarity index 99% rename from Tests/Helpers/StopwatchReporterTests.cs rename to test/Helpers/StopwatchReporterTests.cs index adde67c117482bf574b6045175258cea39c42186..5a18d1dd75753732d3b9d782e006459942d7d57b 100644 --- a/Tests/Helpers/StopwatchReporterTests.cs +++ b/test/Helpers/StopwatchReporterTests.cs @@ -1,13 +1,12 @@ - -using Serilog; -using Serilog.Sinks.InMemory; -using SuCoS.Helpers; using System.Diagnostics; using System.Globalization; using System.Reflection; +using Serilog; +using Serilog.Sinks.InMemory; +using SuCoS.Helpers; using Xunit; -namespace Tests.Helpers; +namespace test.Helpers; public class StopwatchReporterTests { diff --git a/Tests/Helpers/UrlizerTests.cs b/test/Helpers/UrlizerTests.cs similarity index 99% rename from Tests/Helpers/UrlizerTests.cs rename to test/Helpers/UrlizerTests.cs index 02b44ff09beb83b329c3a3692293212dbc0640ac..9291848e76155e4e0c66aec70ccf9dfc80721e23 100644 --- a/Tests/Helpers/UrlizerTests.cs +++ b/test/Helpers/UrlizerTests.cs @@ -1,7 +1,7 @@ using SuCoS.Helpers; using Xunit; -namespace Tests.Helpers; +namespace test.Helpers; public class UrlizerTests { diff --git a/Tests/Models/FrontMatterTests.cs b/test/Models/FrontMatterTests.cs similarity index 99% rename from Tests/Models/FrontMatterTests.cs rename to test/Models/FrontMatterTests.cs index 7336a7c1cc06bce725f8f9d489749d4be59bfb33..cfb770a8af903f3b02580e9cc2c1262720c0036b 100644 --- a/Tests/Models/FrontMatterTests.cs +++ b/test/Models/FrontMatterTests.cs @@ -2,7 +2,7 @@ using System.Globalization; using SuCoS.Models; using Xunit; -namespace Tests.Models; +namespace test.Models; public class FrontMatterTests : TestSetup { diff --git a/Tests/Models/PageTests.cs b/test/Models/PageTests.cs similarity index 99% rename from Tests/Models/PageTests.cs rename to test/Models/PageTests.cs index 42dec2b5cb870468ace823480b53efa71c1323d8..eba6149520b6a0548672b08a0de3c1bfa1a401b5 100644 --- a/Tests/Models/PageTests.cs +++ b/test/Models/PageTests.cs @@ -4,7 +4,7 @@ using SuCoS.Models; using SuCoS.Models.CommandLineOptions; using Xunit; -namespace Tests.Models; +namespace test.Models; public class PageTests : TestSetup { diff --git a/Tests/Models/SiteTests.cs b/test/Models/SiteTests.cs similarity index 99% rename from Tests/Models/SiteTests.cs rename to test/Models/SiteTests.cs index 60cad0d94d4d78f7b5313ef3cfba2938221ca0de..aebe3c9a22fd54894f94b0075a89b2a694a64192 100644 --- a/Tests/Models/SiteTests.cs +++ b/test/Models/SiteTests.cs @@ -4,7 +4,7 @@ using SuCoS.Models.CommandLineOptions; using SuCoS.Parsers; using Xunit; -namespace Tests.Models; +namespace test.Models; /// /// Unit tests for the Site class. diff --git a/Tests/Parser/YAMLParserTests.cs b/test/Parser/YAMLParserTests.cs similarity index 99% rename from Tests/Parser/YAMLParserTests.cs rename to test/Parser/YAMLParserTests.cs index ef6708986ad87fa99b34ed712ea46b9bde12a014..1cabb845c1eb95b71abbb34e44aaffd9bdee1952 100644 --- a/Tests/Parser/YAMLParserTests.cs +++ b/test/Parser/YAMLParserTests.cs @@ -4,7 +4,7 @@ using SuCoS.Models; using SuCoS.Parsers; using Xunit; -namespace Tests.YAMLParser; +namespace test.Parser; public class YamlParserTests : TestSetup { diff --git a/Tests/ProgramTest.cs b/test/ProgramTest.cs similarity index 96% rename from Tests/ProgramTest.cs rename to test/ProgramTest.cs index e25a052ba928dc2ad24af8cb49170c9b78fc5c88..2f307c9991b80a00b4ae0b8a205530ccc014a40b 100644 --- a/Tests/ProgramTest.cs +++ b/test/ProgramTest.cs @@ -2,7 +2,7 @@ using Serilog.Events; using SuCoS; using Xunit; -namespace Tests; +namespace test; public class ProgramTests : TestSetup { diff --git a/Tests/ServerHandlers/PingRequestHandlerTests.cs b/test/ServerHandlers/PingRequestHandlerTests.cs similarity index 97% rename from Tests/ServerHandlers/PingRequestHandlerTests.cs rename to test/ServerHandlers/PingRequestHandlerTests.cs index a254fbb86b0a3285cd2f7d29f2245660af4a07b2..f1dbeb753cfb49dd3d29809067312c0424455c59 100644 --- a/Tests/ServerHandlers/PingRequestHandlerTests.cs +++ b/test/ServerHandlers/PingRequestHandlerTests.cs @@ -2,7 +2,7 @@ using NSubstitute; using SuCoS.ServerHandlers; using Xunit; -namespace Tests.ServerHandlers; +namespace test.ServerHandlers; public class PingRequestHandlerTests : TestSetup { diff --git a/Tests/ServerHandlers/RegisteredPageRequestHandlerTests.cs b/test/ServerHandlers/RegisteredPageRequestHandlerTests.cs similarity index 98% rename from Tests/ServerHandlers/RegisteredPageRequestHandlerTests.cs rename to test/ServerHandlers/RegisteredPageRequestHandlerTests.cs index ea788ec72fce93f553f65c7c36c16b68acdfbc95..3c01fa843b7c3019851767f414f0d93d5c250a94 100644 --- a/Tests/ServerHandlers/RegisteredPageRequestHandlerTests.cs +++ b/test/ServerHandlers/RegisteredPageRequestHandlerTests.cs @@ -6,7 +6,7 @@ using SuCoS.Parsers; using SuCoS.ServerHandlers; using Xunit; -namespace Tests.ServerHandlers; +namespace test.ServerHandlers; public class RegisteredPageRequestHandlerTests : TestSetup { diff --git a/Tests/ServerHandlers/StaticFileRequestHandlerTests.cs b/test/ServerHandlers/StaticFileRequestHandlerTests.cs similarity index 98% rename from Tests/ServerHandlers/StaticFileRequestHandlerTests.cs rename to test/ServerHandlers/StaticFileRequestHandlerTests.cs index 1a0fd3ab7248802350bf526f93a6880b9955a928..581c7c40db5ab655eed0890a4b4c0dd8f936a843 100644 --- a/Tests/ServerHandlers/StaticFileRequestHandlerTests.cs +++ b/test/ServerHandlers/StaticFileRequestHandlerTests.cs @@ -2,7 +2,7 @@ using NSubstitute; using SuCoS.ServerHandlers; using Xunit; -namespace Tests.ServerHandlers; +namespace test.ServerHandlers; public class StaticFileRequestHandlerTests : TestSetup, IDisposable { diff --git a/Tests/TestSetup.cs b/test/TestSetup.cs similarity index 95% rename from Tests/TestSetup.cs rename to test/TestSetup.cs index a56529441013008bea4906f70c77cc4a00eed788..902b8150bf7ee6d964adfb3358a396950b2b0da9 100644 --- a/Tests/TestSetup.cs +++ b/test/TestSetup.cs @@ -1,11 +1,11 @@ +using System.Globalization; using NSubstitute; using Serilog; using SuCoS.Models; using SuCoS.Models.CommandLineOptions; using SuCoS.Parsers; -using System.Globalization; -namespace Tests; +namespace test; public class TestSetup { @@ -36,8 +36,8 @@ public class TestSetup protected ISite Site; - // based on the compiled Tests.dll path - // that is typically "bin/Debug/netX.0/Tests.dll" + // based on the compiled test.dll path + // that is typically "bin/Debug/netX.0/test.dll" protected const string TestSitesPath = "../../.."; protected TestSetup() diff --git a/Tests/Tests.csproj b/test/test.csproj similarity index 97% rename from Tests/Tests.csproj rename to test/test.csproj index 75fa4578e648548c46af3eb04b8994ad4153beaa..9a5cddbc8349f294e816fa5bb3d4fae7672fc2db 100644 --- a/Tests/Tests.csproj +++ b/test/test.csproj @@ -1,29 +1,29 @@ - - - - net8.0 - enable - enable - - false - - test - - - - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + enable + + false + + test + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + +