Move the integration test project from the top-level test/ directory into src/ alongside the projects it tests. Rename the project (and folder) to Yavsc.Org.Tests to match .NET conventions and reflect that it tests the Org runtime primarily. Path changes: - test/yavscTests/yavscTests.csproj -> src/Yavsc.Org.Tests/Yavsc.Org.Tests.csproj - All .cs / .json / .resx files moved to their new location - PostItViewModelTests moved out to the dedicated src/PostIt.Tests project (it was unrelated to Org testing) Build adjustments: - <ProjectReference> paths shortened (..\..\src\X -> ..\X) - PostIt project reference removed (covered by its own test project) - <OutputType>exe added (required by xunit.v3) - xunit.v3.common and xunit.v3.extensibility.core added to package versions Solution + sln: - yavsc.sln Project Name updated to 'Yavsc.Org.Tests' and path updated - GUID preserved so existing build configs stay valid Static web assets: - The CopyStaticWebAssetsManifest target was hard-coding the destination filename to 'testhost.staticwebassets.endpoints.json', which worked when the assembly was named 'yavscTests'. Now that the assembly name is 'Yavsc.Org.Tests', ASP.NET Core's MapStaticAssets() looks for 'Yavsc.Org.Tests.staticwebassets.endpoints.json' (entry-assembly-based resolution). Use $(MSBuildProjectName) so the copy target stays correct under any future rename.
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"Site": {
|
|
"Authority": "https://mercure.pschneider.fr",
|
|
"Title": "Yavsc dev",
|
|
"Slogan": "Yavsc : WIP.",
|
|
"Banner": "/images/yavsc.png",
|
|
"HomeViewName": "Home",
|
|
"FavIcon": "/favicon.ico",
|
|
"Icon": "/images/yavsc.png",
|
|
"GitRepository": "testingrepo",
|
|
"Owner": {
|
|
"Name": "Site Owner Name",
|
|
"EMail": "your@email",
|
|
"PostalAddress": {
|
|
"Street1": "Your Address",
|
|
"Street2": "your street",
|
|
"PostalCode": "543 21~3",
|
|
"City": "",
|
|
"State": "",
|
|
"Province": null
|
|
}
|
|
},
|
|
"Admin": {
|
|
"Name": "Administrator name",
|
|
"EMail": "daAdmin@e.mail"
|
|
}
|
|
},
|
|
"Smtp": {
|
|
"Server": "localhost",
|
|
"Port": 465
|
|
},
|
|
"Logging": {
|
|
"IncludeScopes": {},
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"System": "Warning",
|
|
"Microsoft": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"YavscConnection": "InMemory"
|
|
},
|
|
"DataProtection": {
|
|
"Keys": {
|
|
"Dir": "DataProtection-Keys"
|
|
},
|
|
"RSAParamFile": "RSA-Params.json",
|
|
"ExpiresInHours": 168
|
|
},
|
|
"ApiKey": "lame-key",
|
|
"Testing": {
|
|
"ConnectionStrings": {
|
|
"Default": "lame-default-connection-string",
|
|
"DatabaseCtor": "lame-database-ctor-connection-string"
|
|
},
|
|
"YavscWebPath": "../../src/Yavsc",
|
|
"ValidCreds": {
|
|
"UserName": "lame-user",
|
|
"Password": "lame-password"
|
|
},
|
|
"InvalidCreds": {
|
|
"UserName": "fakeuser",
|
|
"Password": "f/\\kePassw0rd"
|
|
}
|
|
}
|
|
|
|
}
|