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

Improve use as a library #5

Open
howardjohn opened this issue Nov 18, 2022 · 0 comments
Open

Improve use as a library #5

howardjohn opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@howardjohn
Copy link

Huge fan of this tool - thanks for providing it!

I was interested in additionally using it as a library. This sort of works - I can easily import it and run a client and server. However, a few tweaks would make it a bit more ergonomic to use.

  • Opts: probably could make the client not require server params and vis-versa; neither should need to depend on verbose
  • Server: allow a way to bind to port 0 (random) then get the real port
  • Server: expose when bound to port. Currently its hard to do run_server() and then know when its safe to run the client
  • sub-second granularity of test runs would be nice
  • return a TestResults from run_client for programmatic access to the results
@AhmedSoliman AhmedSoliman added the enhancement New feature or request label Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants