apitest
jsonquery
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.
apitest
-
Seeking API Ideas to Test the E2E Testing Framework
Currently, I am developing an E2E testing framework called go-spectest/spectest. Spectest is a package forked from steinfletcher/apitest, and I have been gradually adding its unique features. To enhance spectest further, I believe it's best to actually test APIs.
-
Writing unit tests for an a library that needs to perform internet related tasks?
take a look at something like: github.com/steinfletcher/apitest mock the behaviour, record calls and assert.
- Mock HTTP response
jsonquery
-
Go: Yaml DB
Interesting work, I was going to implement https://github.com/antchfx/jsonquery for github.com/jptosso/coraza-waf but your idea seems quite useful. I would remove logrus, as logs should be created by the implementation, not the library (or at least that's what a think)
What are some alternatives?
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
coraza - OWASP Coraza WAF is a golang modsecurity compatible web application firewall library
naraku - naraku (奈落) - API collection for testing go-spectest/spectest
xq - Command-line XML and HTML beautifier and content extractor
spectest - A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
ojg - Optimized JSON for Go
hoverfly - Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
dby - Simple Yaml DB
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
mockery - A mock code autogenerator for Go
keploy - Test generation for Developers. Generate tests and stubs for your application that actually work!