-
Notifications
You must be signed in to change notification settings - Fork 47
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
Develop automated tests #7
Comments
What's going to be tested? The few mocking libraries mentioned in #29 look like shims on top of If the tests are going to ensure "calling these methods in our library should produce a URL with arguments that match a known-good set" then it you could fake the response handler in I can create a quick PoC if interested. |
Hi Andrei, thank you for your input. If I'm not mistaken Peter has already started working on this. We'll definitely like to have your input on the PR. |
(fyi: this is the technique we use to test the |
That's what Peter (@ptr1120) is aiming for + being able to reproduce mismanagement of resources such as the ones that caused timeouts for several users. |
As discussed in #29, a http mocking library will be used to verify the requests are received and have the expected format (ie. the right piwik parameters).
For a more detailed explanation of the approach and its goals see #46 (comment)
The text was updated successfully, but these errors were encountered: