-
Notifications
You must be signed in to change notification settings - Fork 310
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 Azure-Storage-Node in Tests #53
Comments
Hi @swissarmykirpan, many thanks for the suggestion. |
Hi @pmanlukas , can you see if we can incorporate this and update the documentation accordingly? |
Sure, i will investigate this week if we can switch to our SDK for that :) |
@edwin-huber @pmanlukas I am happy to do this work if that helps :) |
That would be a great suppport :) Then I would suggest you add the changes and make a pull request and we will review it than in time |
@pdressel maybe you can connect with @swissarmykirpan , as you have been looking at this as well? |
@edwin-huber @pmanlukas the problem with TDD is that effectively we would have the same tests that the node lib already does - or the c# client already does. Rather than re-implementing all of those tests, what if we forked some of the other client libs and then target a docker container with the tests? |
@swissarmykirpan @edwin-huber @pmanlukas I agree, and azure-storage-node already comes with an exhaustive test suite for free. I was able to make it work by including node-azure-storage as a git submodule and writing a small shim to run their tests directly against Azurite via ´npm test´. This works with the existing pipeline without extra integration, and locking and updating the test code via git submodule is also easy to do. This could nicely complement PR#58, where we could write additional tests specific to Azurite not covered by the external tests. What do you think? |
@pdressel where’s the branch/PR then? 😜 |
@pdressel is currently debugging the last issues with the storage tests. It is actually working to use his approach, but running the new storage tests showed some new issues in the code :) we keep you updated |
@swissarmykirpan we just merged the first part of the implementation :) |
We now have Azure Storage Node use in the basic testing, and are using azure-storage-node as our external integration tests. |
Rather than having to recreate the wheel with Http requests, why not use
https://github.com/Azure/azure-storage-node ?
The text was updated successfully, but these errors were encountered: