nao1215 / spectest

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
MIT License
37 stars 1 forks source link

Adding Documentation Comments and Reducing Function Complexity #146

Open nao1215 opened 1 year ago

nao1215 commented 1 year ago

Is your feature request related to a problem? Please describe.

Some functions in spectest are hard to understand at a glance. To address this, I will add documentation. Additionally, due to the lengthy lines of code within the functions, I will refactor them into smaller, more manageable functions.