📰 Aduket - Straight-forward HTTP Client Testing, Assertions Included
Nachrichtenbereich: 📰 IT Security Nachrichten
🔗 Quelle: feedproxy.google.com
Straight-forward HTTP client testing, assertions included!
Simple httptest.Server
wrapper with a little request recorder spice on it. No special DSL, no complex API to learn. Just create a server and fire your request like an Hadouken then assert them.TODO
- Add example usages
- Add docs
- Add response headers to NewServer
- Add request header assertions
- Add multiple request assertion logic
- Extract Request().Body to requestRecorder.Body binding logic to CustomBinder
- Add NewServerWithTimeout for testing API timeouts
- http.RoundTripper interface can be implemented to mock arbitrary URLs
- A Builder can be written to NewServer for ease of use
...
🔧 Generate assertions using AI
📈 26.4 Punkte
🔧 Programmierung
🔧 Type Guards & Type Assertions
📈 26.4 Punkte
🔧 Programmierung
🔧 Type Assertions, Trucks, and Aliens
📈 26.4 Punkte
🔧 Programmierung
🔧 Effortless HTTP Client Testing in Go
📈 16.63 Punkte
🔧 Programmierung