github.com/unionj-cloud/go-doudou@v1.3.8-0.20221011095552-0088008e5b31/cmd/internal/svc/codegen/httpintegrationtesting_test.go (about)

     1  package codegen
     2  
     3  import (
     4  	"fmt"
     5  	"github.com/unionj-cloud/go-doudou/toolkit/fileutils"
     6  	"path/filepath"
     7  	"testing"
     8  )
     9  
    10  func Test_notGenerated(t *testing.T) {
    11  	_ = fileutils.CreateDirectory(filepath.Join(testDir, "integrationtest"))
    12  	result := notGenerated(filepath.Join(testDir, "integrationtest"), filepath.Join(testDir, "testcode.postman_collection.json"))
    13  	fmt.Println(result)
    14  }