Sign inSign up

gimlichael/ubuntu-testrunner

By gimlichael

•Updated 9 months ago

.NET SDK Images for Remote Testing in Visual Studio (LTS and STS).

Image
0

1.5K

gimlichael/ubuntu-testrunner repository overview

⁠Remote Testing

To help raise the quality of your code, Microsoft introduced a way to run Remote Testing in Visual Studio⁠ where you can add all sorts of environments.

Since all code starts out locally, it is nice to verify tests manually before pushing to CI/CD flows - especially because there more often than expected are differences between Windows, Linux and even WSL (even if they use the same distro).

For this reason, consider adding a testenvironments.json to the root of your repository and add this snippet to it:

⁠.NET 8.0.416, 9.0.307 and 10.0.100

{
    "version": "1",
    "environments": [
        {
            "name": "WSL-Ubuntu",
            "type": "wsl",
            "wslDistribution": "Ubuntu-24.04"
        },
        {
            "name": "Docker-Ubuntu",
            "type": "docker",
            "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.416-9.0.307-10.0.100"
        }
    ]
}

⁠Mono, .NET 8.0.416, 9.0.307 and 10.0.100

{
    "version": "1",
    "environments": [
        {
            "name": "WSL-Ubuntu",
            "type": "wsl",
            "wslDistribution": "Ubuntu-24.04"
        },
        {
            "name": "Docker-Ubuntu",
            "type": "docker",
            "dockerImage": "gimlichael/ubuntu-testrunner:mono-net8.0.416-9.0.307-10.0.100"
        }
    ]
}

Tag summary

Content type

Image

Digest

sha256:439bcaf34…

Size

1.6 GB

Last updated

9 months ago

docker pull gimlichael/ubuntu-testrunner:mono-net8.0.417-9.0.309-10.0.102