-
We (the team) have a extremely limited test capabilities and limited understanding of real scenarios in which COM is used in conjunction with Windows Forms apps. This makes it very difficult to accept changes in this area without good and verifiable test coverage. Originally posted by @RussKie in #6743 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I thinking about other areas where I would like to have COM related tests. Based on my experience in dotnet/runtime repo where they have more interesting infrastructure for testing managed/unmanaged interactions. I would like to discuss idea how that part of test infra can be improved. My preference would be to have separate projects for set of test cases (or control) where similar COM object implementation can live. Having one project for native side would be unsustainable. I plan at least try to make it testable in automated fashion, but https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/NativeHost/readme.md indicates that this can be problematic. Any thoughts on this? Did you consider using CMake for building native projects? |
Beta Was this translation helpful? Give feedback.
-
We're using CMake in src\System.Windows.Forms\tests\InteropTests\System.Windows.Forms.Interop.Tests.csproj (added by @hughbe in #3732). If you able to convert https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/NativeHost to CMake - please do. I don't remember why it wasn't done as one. Thank you. |
Beta Was this translation helpful? Give feedback.
We're using CMake in src\System.Windows.Forms\tests\InteropTests\System.Windows.Forms.Interop.Tests.csproj (added by @hughbe in #3732). If you able to convert https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/tests/IntegrationTests/NativeHost to CMake - please do. I don't remember why it wasn't done as one.
In general, we will gladly accept any help with COM or native tests we can get :)
Thank you.