Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package testenv
import (
"fmt"
"testing"
"github.com/onsi/gomega"
)
func TestNewSubTest(t *testing.T) {
testString := "this is a sub-test"
cmdTest := NewCMDTest(t.Name())
if cmdTest.ShouldRun() {
fmt.Println(testString)
return
}
out, err := cmdTest.Run()
g := gomega.NewWithT(t)
g.Expect(err).ToNot(gomega.HaveOccurred())
g.Expect(string(out)).To(gomega.ContainSubstring(testString))
}