Comments (13)
sure I am just understanding the code.. then I will take one good first issue
from blockchain-carbon-accounting.
e2e test covers all the test cases of test.js along with 3 to 4 more test which checks some more corner cases. Also for running e2e test you won't have to put data by running the scripts form docker-setup folder. By running e2e test one mock emission record is inserted into the fabric.
from blockchain-carbon-accounting.
Currently the tests are described in https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/main/utility-emissions-channel#automated-tests. We need to get them working again.
from blockchain-carbon-accounting.
I am Unnati, a prefinal year student from India. I am applying for LFX Fall Mentorship Program this time. I saw the project and found the project interesting. The project really aligns my tech stack. So how should I proceed with this? Like should I make a proposal or is there any task to be done before the deadline?
Please let me know the further steps so that I could submit the application before the deadline
from blockchain-carbon-accounting.
@unnati914, thanks for your comment. Let's take about the application process for the mentorship program via email. I've already answered your email.
If you already want to contribute to our lab prior to the official start of the mentorship programs we'd really appreciate this.
Just let us know if there is any issue you want to start working on. Then, we'll assign it to you.
from blockchain-carbon-accounting.
I am getting errors while installing docker on windows.. could you please help me
from blockchain-carbon-accounting.
Yes, I can support you. Please, use https://chat.hyperledger.org/channel/climate-action-sig for general communication that is not directly related to the issues. I'll give some advice in the Hyperledger rocket cat
from blockchain-carbon-accounting.
hi @udosson I ran the tests on my local machine it seems that 3 tests pass and remaining 3 of them fail can you please check if its the same error or am I missing out on anything?
Here's a screenshot of the tests:-
from blockchain-carbon-accounting.
Hi, @sichen1234. In commit 739178f by @Zzocker , end-to-end testing was added which seems to account for all the cases that are covered by the automated tests in the test.js file. The tests can be run by running npm run test
, and it appears that all 7 tests are passing. In that case, do we still need to retain the old tests, since the E2E tests cover the same tests? Please let me know so that I can proceed with the issue accordingly.
from blockchain-carbon-accounting.
@Zzocker Do you think we can remove the test.js file entirely since the E2E tests are a superset of those tests? Please also take a look at the test case required by #190. If even that case is covered, @sichen1234 I think we can simply remove the file and close this issue, as well as #190.
from blockchain-carbon-accounting.
Yes, it covers #190
here :
Also can you add a try/catch
block here :
This is required, cuz if registerAdmin should pass
fails, then the whole test will be stuck there.
from blockchain-carbon-accounting.
@sichen1234 Do you suggest that we close this issue, and then open a fresh issue for the changes suggested by @Zzocker?
from blockchain-carbon-accounting.
@hs2361, yes you can close this issue and create a new issue with the changes suggested by @Zzocker. Thanks!
from blockchain-carbon-accounting.
Related Issues (20)
- request emissions audit UI allow other request, supported by document HOT 1
- Add dataLoader scripts for product table HOT 1
- Calculation error for emission factor & unit consistency. HOT 2
- Dynamic loading of node-fetch
- separate deploy js for carbon tracker HOT 2
- remove open zeppelin contract upgradability HOT 1
- Create a MAINTAINERS.md file HOT 1
- Remove upgradability from CarbonTracker HOT 4
- loading of oil and gas data HOT 2
- Using Google travel impact model
- Adopt Typescript 3.0 references and composite tsconfig.json setting?
- Private Key exposure during Wallet signup HOT 4
- scripts and documentation for deploying Fabric chain code using Bevel
- scripts and documentation for deploying Solidity smart contracts to Besu using Bevel
- UI to select multiple data points for an audited emissions certificate HOT 4
- Disallow operations on the network with server side stored private key HOT 14
- deploy solidity contracts locally with bevel scripts HOT 1
- Link to Voluntary Offsets Directory is broken HOT 5
- not able to issue carbon tracker tokens HOT 1
- problem loading oil and gas data HOT 4
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-carbon-accounting.