Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/houqp/gtest
Go test utility library inspired by pytest
https://github.com/houqp/gtest
golang test-automation test-framework
Last synced: 2 months 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T08:12:29.000Z (about 5 years ago)
- Last Synced: 2024-10-04T18:22:45.452Z (3 months ago)
- Topics: golang, test-automation, test-framework
- Language: Go
- Homepage: https://godoc.org/github.com/houqp/gtest
- Size: 22.5 KB
- Stars: 31
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GTest
=====[![Documentation](https://godoc.org/github.com/houqp/gtest?status.svg)](https://godoc.org/github.com/houqp/gtest)
[![goreportcard](https://goreportcard.com/badge/github.com/houqp/gtest)](https://goreportcard.com/report/github.com/houqp/gtest)
[![codecov](https://codecov.io/gh/houqp/gtest/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/gh/houqp/gtest)
[![CircleCI](https://circleci.com/gh/houqp/gtest.svg?style=svg)](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.