duct

Ajay 2019-02-13T11:55:06.007800Z

hi, is there any resource to see websocket usage within duct?

jco 2019-02-13T12:54:46.009Z

Is there documentation anywhere about writing unit tests for duct applications. I'm especially looking for information relating to unit tests for routes and databases. I'm using ataraxy and duct/database.sql.hikaricp.

2019-02-13T12:56:36.009200Z

Typically you'll write a boundary protocol for databases, and test handlers individually using init-key.

2019-02-13T12:57:22.009400Z

Routes can be tested individually by seeing what handler Ataraxy resolves to.

2019-02-13T13:02:55.009600Z

There are adapters for http-kit and aleph, which support websockets. Once you have a server that supports websockets, follow the server's tutorials to use them.