Type object
File match testEnvironments.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/testenvironment-json/latest.json
Source https://www.schemastore.org/testenvironments.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

version string
environments config[]

Definitions

config object
name string required

User-friendly environment name that will appear in the TestExplorer list. It must be unique within a testEnvironments.json file.

minLength=1
localRoot string

Path on the local machine (either absolute or relative to the solution directory) which is projected into the remote environment. If not specified, this will default to the repo root within the context of a git repo (on VS 17.1 and above). Outside a git repo, this would default to the solution directory.

docker object
type enum
Values: "docker"
wsl object
wslDistribution string required

Name of the local WSL distribution in which to run the test environment.

type enum
Values: "wsl"
ssh object
remoteUri string required

A uri that specifies the connection to the remote machine. e.g. ssh://user@hostname:22

type enum
Values: "ssh"
remote object
remoteUri string required

A uri that specifies the connection to the remote machine. e.g. tcp://hostname:2358

type enum
Values: "remote"