Giter Site home page Giter Site logo

Comments (3)

heatherlp avatar heatherlp commented on July 23, 2024

So the generated test file will have some requires at the top for modules we need (i.e. fabric-network), meaning it needs a node_modules somewhere to grab them from.

After speaking to Simon and Ed, I think we should split this item into two:

  1. the user developed the instantiated smart contract, and it's open in their workspace. The generated test file can live somewhere useful in the smart contract project and make use of the node_modules there. This will be delivered here.

  2. they didn't develop it and they'd like to test it. Selecting "create smart contract tests" generates a test project (or similar) with it's own package.json etc for the modules the test file needs. This will be delivered under #214

We're not addressing usecase 1a (the developer developed the smart contract in vscode, but doesn't have that project open in their workspace) because we can't know where that project now lives.

from blockchain-vscode-extension.

heatherlp avatar heatherlp commented on July 23, 2024

This needs the following before it can be closed:

#260, #229, #261 , #262

from blockchain-vscode-extension.

heatherlp avatar heatherlp commented on July 23, 2024

Under merge of #313, users can now generate javascript test file for an instantiated smart contract, so closing

from blockchain-vscode-extension.

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.