Odak modu
Why Test?
There are two main types of tests that are important when working with smart contracts:
Unit Tests : These tests verify a certain single component in your smart contract is performing correctly. This could be a certain function or event that you have created.
Integration Tests: These tests verify that the interaction between multiple components inside your smart contract is performing correctly. These components can be internal or external for example when calling another smart contract or getting information from an oracle.
Testing Frameworks
Smart contract development frameworks make our lives easier by allowing us to deploy and test smart contracts. The frameworks need to:
Truffle, Hardhat and Foundry are the preferred smart contract development frameworks compatible with JavaScript.
There are also alternative frameworks some of them compatible with other languages:
Resources:
https://betterprogramming.pub/the-top-blockchain-developer-frameworks-for-2021-89afa5e7bd04
https://chainstack.com/foundry-hardhat-differences-performance/
Yazılım Kariyerinde İlerlemeni Hızlandıracak Programlar
Patika+ programlarımız ile 4-8 aylık yoğun yazılım kamplarına katıl, temel bilgilerden başlayarak kapsamlı bilgiler edin, yazılım kariyerine başla!
Yorum yapabilmek için derse kayıt olmalısın!