Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

System tests v1 #339

Open
Shadowfiend opened this issue Nov 7, 2019 · 0 comments
Open

System tests v1 #339

Shadowfiend opened this issue Nov 7, 2019 · 0 comments
Assignees
Labels
📓epic A large story that cannot be simply achieved in a single sprint tbtc

Comments

@Shadowfiend
Copy link
Contributor

Shadowfiend commented Nov 7, 2019

Also involves:

  • Using BTC testnet and something more reliable interchangeably, both, so we can run these tests more frequently for testing.

High-level estimate: L-XL
Breakdown: @Shadowfiend @nkuba

  • Arbitrarily spin up testnet based on kube configs: 4pt
    Going to need to check with Sloan that this is as easy as I think; may just want to hit one of our existing testnets instead. -> @Shadowfiend
  • Test harness based on mocha-parallel-tests: 4pt -> @nkuba
    Include the ability to do some “pre-setup” steps, e.g. to set up a deposit if we're doing a redemption test?
  • Circle CI integration: 4pt -> @nkuba
  • Helpers for waiting on a given Bitcoin block/transaction: 4pt -> @nkuba
  • Helpers for waiting on a given Ethereum block/transaction: 4pt -> @nkuba
  • System test for opening deposit -> getting NFT -> minting TBTC: 2pt -> @Shadowfiend
  • System test for opening deposit -> failing to deposit -> losing bond: 1pt -> @Shadowfiend
  • System test for redeeming deposit for own NFT : 1pt -> @Shadowfiend
  • System test for redeeming deposit for NFT minted by someone else, owned by us: 2pt -> @Shadowfiend
  • System test for redeeming deposit for NFT owned by vending machine: 4pt -> @Shadowfiend
  • System test for liquidation via auction: 4pt -> @Shadowfiend

Assumptions: rather than trying to solve problems like mocking Bitcoin testnet or being able to accelerate or skip blocks, focus on building the system tests themselves. Omit dApp as well.

Total: 38pts

@Shadowfiend Shadowfiend added the 📓epic A large story that cannot be simply achieved in a single sprint label Nov 7, 2019
@mhluongo mhluongo added the tbtc label Dec 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📓epic A large story that cannot be simply achieved in a single sprint tbtc
Projects
None yet
Development

No branches or pull requests

3 participants