gock
drone
Our great sponsors
gock | drone | |
---|---|---|
10 | 53 | |
2,014 | 29,119 | |
- | - | |
3.4 | 0.0 | |
3 months ago | 7 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gock
-
Testing calls to external APIs
Mocking the http client with explicit responses; for example using h2non/gock
- What features would you consider missing/nice to haves for backend web development in Rust?
-
Mock HTTP response
Check out gock.
- API Mock Testing Frameworks
-
Testing methods with HTTP calls?
h2non/gock and
-
Go Package for Mocking HTTP Traffic: github.com/h2non/gock
Last time I covered testing in Go I mentioned a package used for testing equality called github.com/google/go-cmp, this time I will share with you a way to mock HTTP traffic using the package github.com/h2non/gock.
-
HTTP mocking
If you need a good library for mocking http servers https://github.com/h2non/gock does a great job.
-
best way to mock/unit test http.Client?
github.com/h2non/gock
- How to mock `jwk.Fetch` in my unit tests?
- Has anyone here compiled DroneCI from scratch?
drone
-
SPAC(Special Purpose Acquisition) for Open Source Project
Drone (https://github.com/harness/drone) shell's all codes are deleted and replaced with new project (gitness) to retain Github Stars. What do you think?
-
Harness launches Gitness, an open-source GitHub competitor
I went to check on this, and it seems that https://github.com/harness/drone redirects to harness/gitness. I'm now very confused.
-
I want my portfolio project on Github to be public to everyone, but I don't want somebody to copy it and use commercially because propably some day I would like to do it myself with this project. What license should I use?
You can check the drone license or sentry license.
-
What self-hosted Git server ?
To use github my code would have to leave my server. I can build it myself using woodpecker. I used drone.io till they were bought out and went closed source then migrated to woodpecker-ci
-
Is Jenkins still the king?
A lot of people on reddit seem to recommend gitlab, or drone.io, but if you get on indeed and search for jobs there are tens of thousands of posts looking for people who know Jenkins and only a tiny fraction of job listings interested in any other ci framework. Is it worth investing time into anything else? It's my decision and while the other options seem more friendly I don't see any point in learning them if I'm not going to be able to use them in the future.
-
How to set up CI for mirror repositories?
I personally use drone CI (https://drone.io) with the DroneExternalConfig plugin (https://github.com/0x1a8510f2/DroneExternalConfig).
-
Is self hosted gitlab the best CI/CD option for an IOT project?
Gitea + drone.io is what I am using. Very happy with the solution.
-
Selfhosted solutions for developers are bullshit?
No 5000 build limit if you use Gitea/Gogs Ref: https://github.com/harness/drone/blob/master/service/license/load.go
-
Gitea 1.18.0
I really should migrate to Gitea + drone.io
-
Some tool like drone.io for CD
I'm really embarassed to say that I love docker-compose over K8s for its simplicity & effectiveness.But tools are reallly lacking.drone.io is like a docker-compose.yml. Simple, effictive & beautiful.
What are some alternatives?
httpmock - HTTP mocking for Golang
woodpecker - Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
gomock - GoMock is a mocking framework for the Go programming language.
argo-cd - Declarative Continuous Deployment for Kubernetes
go-sqlmock - Sql mock driver for golang to test database interactions
Concourse - Concourse is a container-based continuous thing-doer written in Go.
govcr - HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
Jenkins - Jenkins automation server
httpexpect - End-to-end HTTP and REST API testing for Go.
GitlabCi
go-txdb - Immutable transaction isolated sql driver for golang
Buildbot - Python-based continuous integration testing framework; your pull requests are more than welcome!