DitchOoM / websocket

Simple kotlin multiplatform websocket wrapper
4 stars 0 forks source link

Autobahn test validation #2

Closed thebehera closed 7 months ago

thebehera commented 10 months ago

Changes and proof that the websocket library passes the autobahn test suite

This does NOT wire it into the build process. That's something I still need to figure it out but regardless this library is much more reliable. Currently it passes everything <= case 10.1.1. The other cases are mainly for compression which is still a TODO.

thebehera commented 10 months ago

The source code for executing the test can be found here: https://github.com/DitchOoM/websocket/blob/72bd2994d9155ba43018ac56fb1f38f77ccc5299/src/commonTest/kotlin/com/ditchoom/websocket/WebSocketAutobahnTests.kt

It requires setting up docker with the autobahn test suite running, which requires some work with CI before I can implement it in this repo