Giter Club home page Giter Club logo

Comments (12)

pdressel avatar pdressel commented on July 16, 2024 1

@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.

edwin-huber avatar edwin-huber commented on July 16, 2024

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.

edwin-huber avatar edwin-huber commented on July 16, 2024

Hi @pmanlukas , can you see if we can incorporate this and update the documentation accordingly?

from azurite.

pmanlukas avatar pmanlukas commented on July 16, 2024

Sure, i will investigate this week if we can switch to our SDK for that :)

from azurite.

swissarmykirpan avatar swissarmykirpan commented on July 16, 2024

@edwin-huber @pmanlukas I am happy to do this work if that helps :)

from azurite.

pmanlukas avatar pmanlukas commented on July 16, 2024

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.

edwin-huber avatar edwin-huber commented on July 16, 2024

@pdressel maybe you can connect with @swissarmykirpan , as you have been looking at this as well?

from azurite.

swissarmykirpan avatar swissarmykirpan commented on July 16, 2024

@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.

swissarmykirpan avatar swissarmykirpan commented on July 16, 2024

@pdressel where’s the branch/PR then? 😜

from azurite.

pmanlukas avatar pmanlukas commented on July 16, 2024

@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.

pmanlukas avatar pmanlukas commented on July 16, 2024

@swissarmykirpan we just merged the first part of the implementation :)

from azurite.

edwin-huber avatar edwin-huber commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.