Comments (12)
@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?
from azurite.
Hi @swissarmykirpan, many thanks for the suggestion.
That's a good idea.
Building out the TDD is on our list of things to do.
Right now we are using the .Net Storage SDK to validate the functionality, but a Node version would make life easier.
from azurite.
Hi @pmanlukas , can you see if we can incorporate this and update the documentation accordingly?
from azurite.
Sure, i will investigate this week if we can switch to our SDK for that :)
from azurite.
@edwin-huber @pmanlukas I am happy to do this work if that helps :)
from azurite.
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
from azurite.
@pdressel maybe you can connect with @swissarmykirpan , as you have been looking at this as well?
from azurite.
@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?
from azurite.
@pdressel where’s the branch/PR then? 😜
from azurite.
@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
from azurite.
@swissarmykirpan we just merged the first part of the implementation :)
from azurite.
We now have Azure Storage Node use in the basic testing, and are using azure-storage-node as our external integration tests.
Closing this issue.
from azurite.
Related Issues (20)
- Run Azurite within NodeJS code HOT 2
- Missing Lease Id Validation HOT 1
- The Azurite instance inside a docker image becomes unreachable when deploying the image to k8s HOT 8
- [BUG] All requests to Azurite in testcontainers container return 400. HOT 4
- Create Mock endpoint for AAD Token Generation for Local Development
- Receiving EOF error when using blob client in Go HOT 1
- Missing blockid in azurite signature HOT 5
- Possible TCP port conflict between Azurite and SWA Functions Host (VS Code) HOT 7
- set_container_access_policy returns 400 Bad Request on a valid request HOT 3
- Azurite does not support AzCopy
- Server failed to authenticate the request.Make sure the value of the Authorization header is formed correctly including the signature HOT 5
- Response have metadata always when using List Containers API HOT 4
- Blob - UndeleteAsync - APINotImplemented HOT 3
- Running Azurite with custom port using docker compose HOT 4
- Table Api Query on Int64 (long) column returning extra results HOT 1
- Expect Azurite to fail when inserting doubles greater than MAX_VALUE but succeeds instead HOT 2
- Azurite alway return 400 when use sasUrl generate by Azurite HOT 1
- 3.30.0 - StartCopyFromUriAsync - 500 Error HOT 7
- stageBlock API does not return Content-MD5 HOT 1
- [FeatureRequest] VsCode Command for checking if azurite blob service is running or start service only if service is not running HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurite.