Skip to content
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

Refactors #141

Merged
merged 3 commits into from
Feb 21, 2022
Merged

Refactors #141

merged 3 commits into from
Feb 21, 2022

Conversation

erikh
Copy link
Contributor

@erikh erikh commented Feb 21, 2022

This includes large refactors to the testing, logging frameworks as well as the overall source tree.

Please read the commits for detail on each checkpoint.

…rol log parameters.

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
This commit reorganizes the tree to make it easier to test individual
library functionality within it. Notably it:

- Moves everything under a library
- Moves zeronsd to the `src/bin` directory, with a small boot stub
- Moves the integration tests to `tests/`, with the service abstraction
  + library tooling for the tests in one spot.
- It also rewrites significant parts of the testing functionality to use
  tokio::test, with all the async functionality that needed to change to
  go along with that.

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
@erikh erikh merged commit e568f65 into zerotier:main Feb 21, 2022
@erikh erikh deleted the refactors branch February 21, 2022 04:37
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.

None yet

1 participant