Skip to content

Conversation

ekzhang
Copy link
Owner

@ekzhang ekzhang commented Apr 9, 2022

This adds two files, auth_test.rs and e2e_test.rs. The auth tests just test cryptographic functionality using a tokio::io::duplex stream, which works since the handshake is generic on AsyncBufRead + AsyncWrite + Unpin types. Meanwhile, the end-to-end tests actually test app functionality with real TCP sockets.

I'm not including these tests in the total application line count. Testing is implied!

@ekzhang ekzhang merged commit 526d02d into main Apr 9, 2022
@ekzhang ekzhang deleted the ekzhang/add-tests branch April 9, 2022 06:54
Repository owner deleted a comment from licitrit69 Apr 13, 2022
Repository owner deleted a comment from licitrit69 Apr 13, 2022
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.

1 participant