...
Project repository: https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/mentorship-automated-testing
Deliverables
- 1 Structure tests into unit, integration, and functional. Get all existing tests to work.
- 2 Integrate tests into GitHub actions pipeline to run on every push to the master branch.
- 3 Develop additional tests and end-to-end tests.
- 4 Refactor code to calculate scope 3 emissions factors.
- 5 Migrate emissions factor data to OrbitDB instead of CouchDB
Milestones
Eval 1:
- a All existing tests are working and organized into unit, integration, and functional
- b Tests integrated into GitHub actions pipeline.
Eval 2:
- c Linting and static code analysis integrated with GitHub actions
- d HTML test reports generated for every CI run
Eval 3:
- e. CI for Net Emissions Token Network and Datalock chaincode tests
- f. Tests added for calculating emissions by year and region
Eval 4:
- g. Modify data loader to accept scope 3 emissions factors flat file
- h. Use OrbitDB for emissions calculations
...