From 07da10e1101374c57d3eb40b0239bb317a065d99 Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Tue, 31 May 2022 21:40:22 +0000 Subject: test scenarios --- test-scenarios/install_python_twice.sh | 15 +++++++++++++++ test-scenarios/scenarios.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 test-scenarios/install_python_twice.sh create mode 100644 test-scenarios/scenarios.json (limited to 'test-scenarios') diff --git a/test-scenarios/install_python_twice.sh b/test-scenarios/install_python_twice.sh new file mode 100644 index 0000000..9750ddd --- /dev/null +++ b/test-scenarios/install_python_twice.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "version" python --version + +# ... +# ... + +# Report result +reportResults diff --git a/test-scenarios/scenarios.json b/test-scenarios/scenarios.json new file mode 100644 index 0000000..a4d3fa2 --- /dev/null +++ b/test-scenarios/scenarios.json @@ -0,0 +1,15 @@ +{ + "install_python_twice": { + "image": "mcr.microsoft.com/vscode/devcontainers/base:focal", + "features": [ + { + "id": "python", + "version": "3.8" + }, + { + "id": "python", + "version": "3.9" + } + ] + } +} \ No newline at end of file -- cgit v1.2.3