From where does Environment.GetEnvironmentVariable pick its value in nunit and referenced blazor web assembly I was actually trying this code section in NUnit .