mirror of
https://github.com/holos-run/holos.git
synced 2026-04-05 00:54:57 +00:00
In preparation for v1alpha6 where we're designing a generic Command task for use in generators, transformers, and validators, we need to create permalinks for the existing v1alpha5 schemas. This patch copies the current documentation to the v1alpha5 versioned docs links and establishes v1alpha6 as the current version. See: https://github.com/holos-run/holos/pull/413 for context.
20 lines
428 B
Go
20 lines
428 B
Go
package main
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
)
|
|
|
|
// Run these with go test -v to see the verbose names
|
|
func TestHelloHolos(t *testing.T) {
|
|
t.Run("TestHelloHolos", func(t *testing.T) {
|
|
// Get an ordered list of test script files.
|
|
dir := "_hello-holos"
|
|
for _, file := range sortedTestScripts(t, filepath.Join(dir, "examples")) {
|
|
t.Run("examples", func(t *testing.T) {
|
|
runOneScript(t, dir, file)
|
|
})
|
|
}
|
|
})
|
|
}
|