You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+72-7Lines changed: 72 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,6 @@
32
32
| 📚 Docs | yes | 🟡 | 40% |
33
33
34
34
35
-
36
-
37
35
## 🗺️| Development Rodmap
38
36
39
37
| Task | Progress |
@@ -94,21 +92,19 @@
94
92
| Documentation Tests Examples PKG Go | 45.% |
95
93
| Test Coverage go test -cover | 74.6% |
96
94
| Regex feature coverage, but possibilities | 0.% |
97
-
| Develop for OPTIONS METHOD |0.% |
95
+
| Develop for OPTIONS METHOD |100% |
98
96
| Develop for CONNECT METHOD [See more](https://www.rfc-editor.org/rfc/rfc9110.html#name-connect)| 0.% |
99
97
| Develop method for ListenAndServeTLS (http2) | 0.% |
100
-
| Develop Static Files support | 0.% |
101
-
| Create a CLI (Command Line Interface) Quick. | 0.% |
98
+
| Develop Static Files support | 100% |
102
99
| WebSocket Support | 0.% |
103
100
| Rate Limiter Support | 0.% |
104
101
| Template Engines | 0.% |
105
102
| Documentation Tests Examples PKG Go | 45. % |
106
103
| Test coverage go test -cover | 75.5% |
107
104
| Coverage of Regex resources, but possibilities | 0.% |
108
-
| Develop for METHOD OPTIONS |0.% |
105
+
| Develop for METHOD OPTIONS |100% |
109
106
| Develop for CONNECT METHOD [See more](https://www.rfc-editor.org/rfc/rfc9110.html#name-connect)| 0.% |
110
107
| Develop method for ListenAndServeTLS (http2) | 0.% |
111
-
| Develops Static Files support | 0.% |
112
108
| Create a CLI (Command Line Interface) Quick. | 0.% |
113
109
114
110
@@ -1018,6 +1014,75 @@ func main() {
1018
1014
```
1019
1015
---
1020
1016
1017
+
# Qtest - HTTP Testing Utility for Quick Framework
1018
+
1019
+
Qtest is an **advanced HTTP testing function** designed to simplify route validation within the **Quick** framework. It enables seamless testing of simulated HTTP requests using `httptest`, supporting:
-**Built-in validation methods** for status codes, headers, and response bodies.
1027
+
1028
+
## 📌 Overview
1029
+
The `Qtest` function takes a `QuickTestOptions` struct containing request parameters, executes the request, and returns a `QtestReturn` object, which provides methods for analyzing and validating the result.
🚀 **More details here [Qtest - Quick](https://github.com/jeffotoni/quick/tree/main/quickTest)**
1083
+
1084
+
---
1085
+
1021
1086
## 📚| More Examples
1022
1087
1023
1088
This directory contains practical examples of the Quick Framework, a fast and lightweight web framework developed in Go. The examples are organized in separate folders, each containing a complete example of using the framework in a simple web application. If you have some interesting example of using the Quick Framework, feel free to send a pull request with your contribution. The Quick Framework example repository can be found at [here](https://github.com/jeffotoni/quick/tree/main/example).
// extractParamsOptions processes an HTTP request for a dynamic route, extracting query parameters, headers, and handling the request using the provided handler function
227
+
// The result will extractParamsOptions(q *Quick, method, path string, handlerFunc HandleFunc) http.HandlerFunc
0 commit comments