File tree 1 file changed +29
-0
lines changed 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ faster than other packages according to public benchmarks.
27
27
* [ Custom (un)packing and typed selects and function calls] ( #custom-unpacking-and-typed-selects-and-function-calls )
28
28
* [ Options] ( #options )
29
29
* [ Working with queue] ( #working-with-queue )
30
+ * [ Tests] ( #tests )
30
31
* [ Alternative connectors] ( #alternative-connectors )
31
32
32
33
## Installation
@@ -673,6 +674,34 @@ Additional options (configurable via `ConnectWithOpts`):
673
674
* ` ClusterDiscoveryTime ` - time interval to ask server for updated address list (works on with ` NodesGetFunctionName ` set)
674
675
* ` NodesGetFunctionName ` - server lua function name to call for getting address list
675
676
677
+ ## Tests
678
+
679
+ You need to [ install Tarantool] ( https://www.tarantool.io/en/download/ ) to run tests.
680
+ See (Installation)[ (#installation)] section for other requirements and version restrictions.
681
+
682
+ To run tests, call
683
+ ``` bash
684
+ go clean -testcache && go test -v
685
+ ```
686
+ Tests configure all required environment (` tarantool ` processes to connect or ` .rocks ` installed) before run.
687
+
688
+ To run subpackage tests, go to a subpackage folder and run the same command.
689
+ ``` bash
690
+ cd multi
691
+ go clean -testcache && go test -v
692
+ ```
693
+
694
+ ``` bash
695
+ cd queue
696
+ go clean -testcache && go test -v
697
+ ```
698
+
699
+ UUID tests require [ Tarantool 2.4.1 or newer] ( https://github.com/tarantool/tarantool/commit/d68fc29246714eee505bc9bbcd84a02de17972c5 ) .
700
+ ``` bash
701
+ cd UUID
702
+ go clean -testcache && go test -v
703
+ ```
704
+
676
705
## Alternative connectors
677
706
678
707
- https://github.com/viciious/go-tarantool
You can’t perform that action at this time.
0 commit comments