https://github.com/houqp/gtest
Go test utility library inspired by pytest
https://github.com/houqp/gtest
golang test-automation test-framework
Last synced: 11 days ago
JSON representation
Go test utility library inspired by pytest
- Host: GitHub
- URL: https://github.com/houqp/gtest
- Owner: houqp
- License: mit
- Created: 2019-12-03T20:35:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T08:12:29.000Z (over 5 years ago)
- Last Synced: 2025-04-15T05:48:35.001Z (11 days ago)
- Topics: golang, test-automation, test-framework
- Language: Go
- Homepage: https://godoc.org/github.com/houqp/gtest
- Size: 22.5 KB
- Stars: 32
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GTest
=====[](https://godoc.org/github.com/houqp/gtest)
[](https://goreportcard.com/report/github.com/houqp/gtest)
[](https://codecov.io/gh/houqp/gtest)
[](https://circleci.com/gh/houqp/gtest)Lightweight Golang test framework inspired by pytest.
GTest provides the following functionalities to help reduce boilerplate in test code:
* Test grouping
* Setup, Teardown hooks for test groups
* BeforeEach, AfterEach hooks for tests
* Fixture injectionSee [docs](http://godoc.org/github.com/houqp/gtest), [example_test.go](./example_test.go) and [gtest_test.go](./gtest_test.go) for examples.