Comments (3)
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:
-
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.
-
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.
This needs the following before it can be closed:
from blockchain-vscode-extension.
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)
- Add support for chaincode as a service HOT 3
- FAILED - RETRYING: Wait for certificate authority to start (60 retries left). HOT 1
- Improve tests HOT 1
- Broken link to JavaScript Test Runner extension HOT 1
- Migrate to new Gateway SDK HOT 3
- [ERROR] Entry "SMRIP" in registry "environments" does not exist HOT 1
- issue HOT 1
- Need Helpπ Failed to deploy smart contract, Package was not installed.No packageId was returned HOT 1
- are we going to specific nodejs version in CONTRIBUTING.md? HOT 4
- Document alternatives to using the vscode extension
- Extension causes high cpu load HOT 2
- Bug HOT 1
- Failed to determine workspace status: Process exited with status 127 : No such file or directory HOT 1
- my-asset-contract.ts incorrectly generated HOT 1
- Extension for IBM blockchain is not working properly on Windows: unable to deploy default smartcontract in default environment provided by IBM blockchain extension HOT 1
- Issue connecting on IBM Blockchain Platform on cloud Hyperledger Fabric 2.4.6-1 via VSCode extension HOT 1
- help solve this error on microsoft azure HOT 1
- Lost
- .fabricignore file not being respected HOT 1
- The IBM Blockchain Platform Extension for VS Code project is no longer active 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 blockchain-vscode-extension.