Put in order · Blockchain and Web3 course · Module 12: Security & Audit

Sorting: Testing Pipeline

Arrange the smart contract testing pyramid (from most frequent to least frequent):

Items to put in order

  • Integration tests - tests of contracts working together
  • Unit tests - tests of individual functions (hundreds of tests)
  • Fork tests - tests on a copy of mainnet
  • Mainnet testing - careful production tests with small amounts

You can check the correct answer by solving this task in the CodeWorlds game.