Avanade / UnitTestEx

UnitTestEx provides .NET testing extensions to the most popular testing frameworks (MSTest, NUnit and Xunit) specifically to improve the testing experience with ASP.NET controller, and Azure Function, execution including underlying HttpClientFactory mocking.
MIT License
18 stars 4 forks source link

UnitTests fail when there's a comment in local.settings.json #28

Closed karpikpl closed 2 years ago

karpikpl commented 2 years ago

To reproduce add a comment to settings file

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
  // test comment
    }
}

and run a test with using var test = FunctionTester.Create<Startup>();

chullybun commented 2 years ago

Resolved in package v1.0.13.