Files
planterette/cmd/plt-build/main_test.go
2025-11-15 13:03:00 -06:00

20 lines
327 B
Go

package plt_build
import (
"os"
"os/exec"
"testing"
"time"
)
func TestPltBuild(t *testing.T) {
cmd := exec.CommandContext(t.Context(), "./gradlew", "test")
cmd.WaitDelay = 100 * time.Millisecond
cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, os.Stdout, os.Stderr
err := cmd.Run()
if err != nil {
t.Error(err)
}
}