microsoft / Windows-Containers

Welcome to our Windows Containers GitHub community! Ask questions, report bugs, and suggest features -- let's work together.
MIT License
395 stars 60 forks source link

Testing Windows applications within containers #148

Closed ghost closed 2 years ago

ghost commented 3 years ago

My startup is building a windows application with UI, during the testing phase we would like to run apps in a container, test them and push to production. We are new in testing, so is there a framework or some tools to run a GUI app in container and interact with them from Powershell (click a button on the app, open a notepad, etc) ?

vrapolinario commented 3 years ago

This topic has been discussed extensively on this issue: https://github.com/microsoft/Windows-Containers/issues/47 Adding @richlander from the .Net team to see if they have any updates, and @weijuans-msft from Windows container side. I don't think we have an update, but it's still worth track customer requests on it.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

jedieaston commented 2 years ago

This would be extremely handy for winget package testing. I've looked into using Krypton directly (which is what the Sandbox uses for fastboot Windows micro-VMs), but there doesn't seem to be any documented APIs for it.

ghost commented 2 years ago

This would be extremely handy for winget package testing. I've looked into using Krypton directly (which is what the Sandbox uses for fastboot Windows micro-VMs), but there doesn't seem to be any documented APIs for it.

What is Krypton?

jedieaston commented 2 years ago

It's one of the types of Windows containers. This is the only official documentation they've updated lately on it, but it's basically a isolated microVM (similar to Firecracker, if you're familiar with Linux microVMs) that runs on Hyper-V and can start super fast. It's used for Edge Application Guard, WSL2, and the Windows Sandbox. They won't let you start your own for some reason, even if you dig into the API.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

ghost commented 2 years ago

This issue has been open for 30 days with no updates. @weijuans-msft, please provide an update or close this issue.

cwilhit commented 2 years ago

Closing this thread in favor of #47, and will reopen that issue to track feature requests related to UI automation in Windows containers.