ChainSafe / chainbridge-celo

GNU Lesser General Public License v3.0
3 stars 2 forks source link

Integration tests and CI/CD #87

Open P1sar opened 3 years ago

P1sar commented 3 years ago

Story

As a developer/PM/PO/client I want new features to be continuously deployed and integrated into existing codebase, new code to be quickly tested with integration tests on close to production environment. So that I can increase speed of new features development and integration, receive quick response on changes and fixes.

Background

According to nature of Chainbridge software it is required to test any new changes with integration tests using real calls to smart contracts on close to real blockchains

Details

Scenarios

Scenario: Given I am develop When I fix some bug, add new feature and create new PR to main branch Then my code is deployed on test environment (close to production one) and tested with integration tests on live smart contracts and blockchain.

Implementation details

Create test medium that consist of blockchain and deployed smart-contracts that will be used to test Chainbridge new features and bug fixes.

Testing details

Add basic integration tests

Acceptance criteria

On new PR to main, PR is tested with integration tests on blockchain with deployed smart contracts.