-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get utility emissions channel automated tests working #80
Comments
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. |
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 |
@unnati914, thanks for your comment. Let's take about the application process for the mentorship program via email. I've already answered your email. |
sure I am just understanding the code.. then I will take one good first issue |
I am getting errors while installing docker on windows.. could you please help me |
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 |
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? |
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 |
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. |
@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. |
Yes, it covers #190 blockchain-carbon-accounting/utility-emissions-channel/typescript_app/tests/e2e.test.ts Lines 197 to 198 in 2a8e15f
Also can you add a blockchain-carbon-accounting/utility-emissions-channel/typescript_app/tests/e2e.test.ts Lines 71 to 78 in 2a8e15f
This is required, cuz if |
@sichen1234 Do you suggest that we close this issue, and then open a fresh issue for the changes suggested by @Zzocker? |
The automated tests in utility-emissions-channel/typescript_app/runTests.sh is not working. Get the tests to work and be able to verify the record emissions and get emissions.
The text was updated successfully, but these errors were encountered: