aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/anaconda/test.sh12
-rw-r--r--test/aws-cli/install.sh12
-rw-r--r--test/azure-cli/test.sh13
-rw-r--r--test/common/test.sh14
-rw-r--r--test/desktop-lite/test.sh12
-rw-r--r--test/docker-from-docker/test.sh13
-rw-r--r--test/docker-in-docker/test.sh13
-rw-r--r--test/dotnet/test.sh4
-rw-r--r--test/git-lfs/test.sh13
-rw-r--r--test/git/test.sh13
-rw-r--r--test/github-cli/test.sh13
-rw-r--r--test/go/test.sh4
-rw-r--r--test/gradle/test.sh13
-rw-r--r--test/hugo/test.sh13
-rw-r--r--test/java/test.sh13
-rw-r--r--test/jupyterlab/test.sh13
-rw-r--r--test/kubectl-helm-minikube/test.sh14
-rw-r--r--test/maven/test.sh13
-rw-r--r--test/node/test.sh13
-rw-r--r--test/powershell/test.sh13
-rw-r--r--test/python/test.sh13
-rw-r--r--test/ruby/test.sh13
-rw-r--r--test/rust/test.sh13
-rw-r--r--test/sshd/test.sh12
-rw-r--r--test/terraform/test.sh12
25 files changed, 300 insertions, 4 deletions
diff --git a/test/anaconda/test.sh b/test/anaconda/test.sh
new file mode 100644
index 0000000..511291a
--- /dev/null
+++ b/test/anaconda/test.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "version" conda --version
+
+# Report result
+reportResults \ No newline at end of file
diff --git a/test/aws-cli/install.sh b/test/aws-cli/install.sh
new file mode 100644
index 0000000..d213eac
--- /dev/null
+++ b/test/aws-cli/install.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "version" aws --version
+
+# Report result
+reportResults \ No newline at end of file
diff --git a/test/azure-cli/test.sh b/test/azure-cli/test.sh
new file mode 100644
index 0000000..d91c689
--- /dev/null
+++ b/test/azure-cli/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" az --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/common/test.sh b/test/common/test.sh
new file mode 100644
index 0000000..773c66f
--- /dev/null
+++ b/test/common/test.sh
@@ -0,0 +1,14 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "jq" jq --version
+ check "curl" curl --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/desktop-lite/test.sh b/test/desktop-lite/test.sh
new file mode 100644
index 0000000..f9bf160
--- /dev/null
+++ b/test/desktop-lite/test.sh
@@ -0,0 +1,12 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ echo 'NO TESTS FOR ME YET!'
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/docker-from-docker/test.sh b/test/docker-from-docker/test.sh
new file mode 100644
index 0000000..22878ba
--- /dev/null
+++ b/test/docker-from-docker/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" docker --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/docker-in-docker/test.sh b/test/docker-in-docker/test.sh
new file mode 100644
index 0000000..22878ba
--- /dev/null
+++ b/test/docker-in-docker/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" docker --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh
index 781fc16..ddba7a6 100644
--- a/test/dotnet/test.sh
+++ b/test/dotnet/test.sh
@@ -2,8 +2,8 @@
set -e
-# Import test library
-source featuresTest.library.sh root
+# Optional: Import test library
+source dev-container-features-test-lib
# Definition specific tests
check "dotnet" dotnet --info
diff --git a/test/git-lfs/test.sh b/test/git-lfs/test.sh
new file mode 100644
index 0000000..321b0d9
--- /dev/null
+++ b/test/git-lfs/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" git-lfs --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/git/test.sh b/test/git/test.sh
new file mode 100644
index 0000000..f78d6f9
--- /dev/null
+++ b/test/git/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" git --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/github-cli/test.sh b/test/github-cli/test.sh
new file mode 100644
index 0000000..4ff9d2c
--- /dev/null
+++ b/test/github-cli/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" gh --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/go/test.sh b/test/go/test.sh
index a41e89a..87cc950 100644
--- a/test/go/test.sh
+++ b/test/go/test.sh
@@ -2,8 +2,8 @@
set -e
-# Import test library
-source featuresTest.library.sh root
+# Optional: Import test library
+source dev-container-features-test-lib
check "version" go version
diff --git a/test/gradle/test.sh b/test/gradle/test.sh
new file mode 100644
index 0000000..5931ee7
--- /dev/null
+++ b/test/gradle/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" gradle --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/hugo/test.sh b/test/hugo/test.sh
new file mode 100644
index 0000000..b4d6636
--- /dev/null
+++ b/test/hugo/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" hugo version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/java/test.sh b/test/java/test.sh
new file mode 100644
index 0000000..ab4526e
--- /dev/null
+++ b/test/java/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" java --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/jupyterlab/test.sh b/test/jupyterlab/test.sh
new file mode 100644
index 0000000..be927b7
--- /dev/null
+++ b/test/jupyterlab/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" jupyter --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/kubectl-helm-minikube/test.sh b/test/kubectl-helm-minikube/test.sh
new file mode 100644
index 0000000..7114896
--- /dev/null
+++ b/test/kubectl-helm-minikube/test.sh
@@ -0,0 +1,14 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "kube" kubectl
+ check "helm" helm version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/maven/test.sh b/test/maven/test.sh
new file mode 100644
index 0000000..63cfb0f
--- /dev/null
+++ b/test/maven/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" maven --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/node/test.sh b/test/node/test.sh
new file mode 100644
index 0000000..cbe7309
--- /dev/null
+++ b/test/node/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" node --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/powershell/test.sh b/test/powershell/test.sh
new file mode 100644
index 0000000..aec5d1e
--- /dev/null
+++ b/test/powershell/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" pwsh --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/python/test.sh b/test/python/test.sh
new file mode 100644
index 0000000..f65ce6c
--- /dev/null
+++ b/test/python/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" python --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/ruby/test.sh b/test/ruby/test.sh
new file mode 100644
index 0000000..9560308
--- /dev/null
+++ b/test/ruby/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" ruby --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/rust/test.sh b/test/rust/test.sh
new file mode 100644
index 0000000..bc625c3
--- /dev/null
+++ b/test/rust/test.sh
@@ -0,0 +1,13 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ # Definition specific tests
+ check "version" rust --version
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/sshd/test.sh b/test/sshd/test.sh
new file mode 100644
index 0000000..f9bf160
--- /dev/null
+++ b/test/sshd/test.sh
@@ -0,0 +1,12 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ echo 'NO TESTS FOR ME YET!'
+
+ # Report result
+ reportResults \ No newline at end of file
diff --git a/test/terraform/test.sh b/test/terraform/test.sh
new file mode 100644
index 0000000..f9bf160
--- /dev/null
+++ b/test/terraform/test.sh
@@ -0,0 +1,12 @@
+
+ #!/bin/bash
+
+ set -e
+
+ # Optional: Import test library
+ source dev-container-features-test-lib
+
+ echo 'NO TESTS FOR ME YET!'
+
+ # Report result
+ reportResults \ No newline at end of file