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

Clean up Client and Server integration tests #1675

Open
seanmonstar opened this issue Oct 18, 2018 · 5 comments
Open

Clean up Client and Server integration tests #1675

seanmonstar opened this issue Oct 18, 2018 · 5 comments
Labels

Comments

@seanmonstar
Copy link
Member

@seanmonstar seanmonstar commented Oct 18, 2018

Both the client and server tests (tests/client.rs and tests/server.rs) started with small abstractions, but they weren't flexible enough, and so as more complicated cases were needed, the tests just got more and more complicated, with a lot of repetition. It'd be huge to find a way to refactor them.

@JeffLabonte
Copy link
Contributor

@JeffLabonte JeffLabonte commented Nov 24, 2018

I will take this issue and work on it!

@JeffLabonte
Copy link
Contributor

@JeffLabonte JeffLabonte commented Nov 28, 2018

Would you have something in mind as well? @seanmonstar

@tiendq
Copy link

@tiendq tiendq commented Jun 24, 2019

@seanmonstar is it still open? :)

@seanmonstar
Copy link
Member Author

@seanmonstar seanmonstar commented Jun 24, 2019

Yes, this is still open because the integration tests feel very messy, and there's a lot of repeated code. I'm sorry I haven't been able to provide much guidance on how to improve them, if I thought about it a lot, I'd probably fix them myself :)

@tiendq
Copy link

@tiendq tiendq commented Jun 25, 2019

Well, if it's very messy so we could improve it a little each PR, for example let's remove (as many as possible) repeated code first. If you feel ok with this approach I could try it :) (hopefully it's easy as labelled :D).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.