You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2019. It is now read-only.
There are no tests. While I'm not totally for tests m they provide an extra layer of security, and potential collaborators may not know how things are supposed to work.
Mainly, they make sure we don't accidentally screw up the public API, which should be constant between versions...
I've assigned this to myself because I want to look into java unit testing.
The text was updated successfully, but these errors were encountered:
As per #6, I started working on tests. There's currently only a really
simple get request test, but it passes, which is nice...
Tests are using jUnit 4, if you want to try them out yourself.
There are a couple tests now. Mostly making sure that the HTTPRequest class is doing it's job correctly. There's one minor problem in my eye, and it's that we can't guarantee that the http request creator I built (the MockClient) is generating real, correct http requests. I assume it does, but it's technically not tested...
Nothing else has been tested, because we can't really test anything else... I mean, the handler factory can't be tested (other than, does HTTPHandlerFactory.determine handler() return a DeathHandler).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are no tests. While I'm not totally for tests m they provide an extra layer of security, and potential collaborators may not know how things are supposed to work.
Mainly, they make sure we don't accidentally screw up the public API, which should be constant between versions...
I've assigned this to myself because I want to look into java unit testing.
The text was updated successfully, but these errors were encountered: