-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Use of VCR.py to not depend on an Odoo server and speed up tests #45
Comments
We have the same also on connector-prestashop, but with that, we are faking the possible problems IMO. |
My idea is to put the resulting serialization of HTTP queries in Travis cache (expiration every 28 days: https://docs.travis-ci.com/user/caching/#caches-expiration). I know some issues may be hidden this way if Odoo changes its internals, but currently tests are also very slow (+ Travis jobs are shared among all OCA reporitories). |
@guewen what is your experience using VCR? |
It depends on what needs to be tested:
In any case, IMO it's already worth it for the point 1 alone. |
Like it is done on OCA/connector-magento.
Link: VCR.py
The text was updated successfully, but these errors were encountered: