gavv / httpexpect

End-to-end HTTP and REST API testing for Go.
https://pkg.go.dev/github.com/gavv/httpexpect/v2
MIT License
2.53k stars 237 forks source link

Refactor Websocket tests #357

Closed gavv closed 1 year ago

gavv commented 1 year ago

After introducing new chain.assert() method, we can simplify many websocket tests.

In websocket_test.go, find all table-driven tests that have assertOk field and refactor them as follows:

antara-gandhi commented 1 year ago

@gavv i'd like to claim this issue!

gavv commented 1 year ago

@antara-gandhi welcome :)