Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Unit Testing #110

Merged
merged 2 commits into from
Jul 17, 2019
Merged

Unit Testing #110

merged 2 commits into from
Jul 17, 2019

Conversation

TheCharlatan
Copy link
Contributor

This pull request is based on #109

The pr implements basic unit tests for the base. The coverage of the tests can be checked by running the coverage.sh script. From the middleware directory, run it with scripts/coverage.sh ./src/....

While implementing the tests I found some weaknesses in the error handling of the websocket read and write loop and the checks when noise is not properly setup yet.

This commit implements a first couple of unit tests for the middleware.
It also adds a script that checks the current coverage of the
implemented units tests.
@TheCharlatan TheCharlatan merged commit d96665c into BitBoxSwiss:master Jul 17, 2019
@TheCharlatan TheCharlatan deleted the Testing branch July 17, 2019 14:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant