git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/session/test/doc.go (about)

     1  /*
     2  Package sessiontest provides functions for convenient testing of session package API.
     3  
     4  Note that importing the package into source files is highly discouraged.
     5  
     6  Random instance generation functions can be useful when testing expects any value, e.g.:
     7  
     8  	import sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test"
     9  
    10  	val := sessiontest.Container()
    11  	// test the value
    12  */
    13  package sessiontest