func (suite *PanguAxeTestSuite) TearDownTest() {
	os.Stdout = suite.realStdout
}
The TearDownTest method will be run after every test in the suite.
package main
import (
	"fmt"
	"github.com/stretchr/testify/suite"
	"io/ioutil"
	"os"
	"testing"
)
type PanguAxeTestSuite struct {
	suite.Suite
	realStdout *os.File
	r, w       *os.File
}
func (suite *PanguAxeTestSuite) SetupTest() {
	suite.realStdout = os.Stdout
	suite.r, suite.w, _ = os.Pipe()
	os.Stdout = suite.w
}