Skip to content

Test in Windows Sandbox #253

@felipecrs

Description

@felipecrs

Description

A new CLI option, such as the command winget sandbox-test <manifest>, or winget install --sandbox-test <manifest>, for testing packages install in Windows Sandbox.

Proposed technical implementation details

It should create a new Sandbox, and try to perform the winget install -m <manifest> there.

Sandboxes can be customized and set to run a PowerShell Script or commands on its startup through an XML configuration file .wsb.

See: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-configure-using-wsb-file

This way we would have fully isolated test environments for each time, very practical, fast, and lightweight (different than a VirtualBox machine and Vagrant).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions