github.com/sandwich-go/boost@v1.3.29/xos/gorun_test.go (about)

     1  package xos
     2  
     3  import (
     4  	. "github.com/smartystreets/goconvey/convey"
     5  	"testing"
     6  )
     7  
     8  func TestGoRun(t *testing.T) {
     9  	Convey("go run", t, func() {
    10  		So(MustGetBinaryFilePath(), ShouldContainSubstring, ".test")
    11  		So(IsGoRun(), ShouldBeTrue)
    12  	})
    13  }