This is not sufficient to validate Globalization functionality in all images. We should add a test that validates all aspects of globalization are working correctly:
The test should detect if globalization is enabled in .NET.
If globalization is enabled:
It should validate that the environment variable is set.
It should validate that localization works (currency formatting for example).
It should validate that using time zone related classes works.
If globalization is disabled:
It should validate that calling globalization-related methods fails.
Currently we have the following test that is ran inside the SDK images when testing
xunit
functionality: https://github.com/dotnet/dotnet-docker/blob/4f48d36a98187a6e350d54167ef5b568ccd3882f/tests/Microsoft.DotNet.Docker.Tests/TestAppArtifacts/UnitTests.cs#L12-L19This is not sufficient to validate Globalization functionality in all images. We should add a test that validates all aspects of globalization are working correctly: