Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org
Top 2.1% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/houqp/gtest

Package 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 injection Tests are grouped using struct methods. Each test in a test group needs to be defined as a struct method with `SubTest` prefix. Test group struct needs to implement GTest interface. Example of test grouping: Any struct with Construct and Destruct method defined can be registered as a fixture. Fixtures are referenced using fixture struct field tags. Example of fixture injection: Note that you can pass fixtures to fixture's Construct method as well, making it possible to build fixtures using other fixtures in a nested fashion.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/houqp/gtest
Keywords: golang, test-automation, test-framework
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/houqp
Dependent packages: 7
Dependent repositories: 1
Stars: 27 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...