-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Add DotNetBuildConfiguration option to allow tests to specify Debug vs Release build configuration for .NET projects.
Use Cases
- Testing performance-sensitive code where Release optimizations matter
- Testing conditional compilation symbols that differ between Debug/Release
- Validating that Release builds work correctly with local SDK references
Proposed API
test := NewPulumiTest(t,
"path/to/csharp/project",
opttest.DotNetBuildConfiguration("Release"),
)Implementation Notes
- Could set MSBuild
Configurationproperty via environment variable - Alternative workaround: Users can use
opttest.Env("Configuration", "Release")
Priority
Low - current workaround exists via opttest.Env(), no clear testing use case identified yet
Affected area/feature
.NET/C# Testing