Go language Test Automation

Please help me on testing language automation

I developed manual coding for automation. Please help me with any packages or frames available to run automation testing in go.

-2
source share
4 answers

Go provides its own test suite, which you can view here.

https://golang.org/pkg/testing/

You can write your own tests, the general layout is to write the file, and then write the file _test.gofor verification, for example.

package.go
package_test.go

then you can test your file by running

go test

And bam, you are good to go

, : https://github.com/yohcop/openid-go/blob/master/redirect_test.go

+2

http://goconvey.co

GoConvey Go.

0

Source: https://habr.com/ru/post/1623706/


All Articles