Ecosyste.ms: Packages

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

Top 4.8% on proxy.golang.org
Top 2.5% dependent packages on proxy.golang.org
Top 2.9% dependent repos on proxy.golang.org
Top 9.8% forks on proxy.golang.org

proxy.golang.org : github.com/elliotchance/tf

Package tf is a microframework for parametrized testing of functions. I wrote this because I was tired of creating a []struct{} fixture for most of my tests. I knew there had to be an easier and more reliable way. It offers a simple and intuitive syntax for tests by wrapping the function: Assertions are performed with github.com/stretchr/testify/assert. If an assertion fails it will point to the correct line so you do not need to explicitly label tests. The above test will output (in verbose mode):

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/elliotchance/tf
Keywords: assertions, go, golang, http, micro-framework, testing, testing-framework
License: MIT
Latest release: almost 5 years ago
First release: almost 6 years ago
Namespace: github.com/elliotchance
Dependent packages: 5
Dependent repositories: 3
Stars: 136 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

    Loading...
    Readme
    Loading...