Skip to content

Update and extend the protocol/packet tests #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2022
Merged

Conversation

njones
Copy link
Owner

@njones njones commented Jul 12, 2022

Add in a new way of testing with the addition of closure driven tests
and skip options. Expand tests to cover all of the common cases for all
supported protocol levels. Added in the msgpack encode/decode for SIO
version 2 handling. The current package test coverage is:

ok  	github.com/njones/socketio/protocol	0.008s	coverage: 80.6% of statements

Fixes #4

[ look to the wiki for more info on the new test format ]

Add in a new way of testing with the addtion of closure driven tests
and skip options. Expand tests to cover all of the common cases for all
supported protocol levels. Added in the msgpack encode/decode for SIO
version 2 handling. The current package test coverage is:

    ok  	github.com/njones/socketio/protocol	0.008s	coverage: 80.6% of statements
@njones njones merged commit fe6314a into main Jul 12, 2022
@njones njones deleted the sio-protocol-tests branch July 12, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more tests to the SIO protocol package
1 participant