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

Improve the test coverage about `DefaultVerifier` #227

Closed aqyuki closed 11 months ago

aqyuki commented 11 months ago

I added some tests for DefaultVerifier. In this PR, I add a test about DefaultVerifer and mock required to test.

I want to be checked this PR and want this PR is merged. Good Go Life!

nao1215 commented 11 months ago

@aqyuki Thanks for writing the test. I will merge this PR. One comment, I think you could have also parallelized the subtests.

Ref. https://www.gopherguides.com/articles/table-driven-testing-in-parallel See Bug Time! section.