-
Notifications
You must be signed in to change notification settings - Fork 8
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
Adaptors tests #167
Comments
I'd say we want to have a separate PASS/FAIL status for each adaptor in the |
|
I think we should close this and create issues for individual adaptors [Preferably our top 5 adaptors]. This might be a good transition to testing mockable operations |
Yeah I kinda agre I think the mockable operations stuff needs to happen first and we don't really have an issue for it. We already have issue for some problematic tests. I don't think this issue has intrinisic value, but I don't think we should create new issues unless we absolutely need it. Maybe when the mocking stuff is done and merged, we can raise some |
Description
During the process of migration, we skipped a lot of tests that are failing. We should have a tests mock framework to make the process of writing test easy in adaptors.
Currently most of the tests in adaptors are quite similar, and this doesn't seem quite right, because the way an adaptor is being tested depends on the system that adaptor is for. For example if the adaptor is for a REST API then maybe mocking with libs like
sinon
is the way to go but if the adaptor is for a database then we should have defined database sandboxes to do integration tests, etc.There are also some helper functions that are being re-tested like
execute
while they have already been tested in another adaptor.@taylordowns2000 we do think that there should be an interesting discussion around the way adaptors are being tested currently and maybe an outcome of that discussion will be defining patterns, tools, strategies, ..., for testing adaptors.
The text was updated successfully, but these errors were encountered: