250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- built in object
- Redux
- concept
- API
- node.js
- SSR
- middleware
- evm
- hardhat
- tailwindcss
- Interface
- solidity
- CSS
- 삶
- CLASS
- 기준
- web
- JavaScript
- typeScript
- REACT
- useState
- express.js
- error
- blockchain
- bitcoin
- Props
- nextJS
- HTML
- Ethereum
- graphQL
Archives
- Today
- Total
ReasonJun
Hardhat : ethereum-waffle 본문
728x90
Ethereum-Waffle is a testing framework for Ethereum smart contracts. It is designed to be easy to use and to provide a comprehensive set of features for testing smart contracts.
Waffle provides the following features:
- A simple and intuitive API for writing tests
- Support for all of the Solidity features
- A built-in mocking framework
- A built-in snapshotting framework
- A built-in coverage reporting framework
Waffle is a popular choice for testing Ethereum smart contracts. It is used by many projects, including Uniswap, Aave, and Yearn Finance.
Waffle is a great choice for testing Ethereum smart contracts because it is easy to use and provides a comprehensive set of features. It is also a well-maintained project with a large community of users.
Here are some of the benefits of using Waffle:
- Easy to use: Waffle has a simple and intuitive API that makes it easy to write tests.
- Comprehensive: Waffle provides support for all of the Solidity features, so you can be sure that your tests are covering all of the code in your smart contracts.
- Built-in mocking: Waffle has a built-in mocking framework that makes it easy to mock external dependencies. This can be helpful for testing code that interacts with other contracts or with the Ethereum network.
- Built-in snapshotting: Waffle has a built-in snapshotting framework that makes it easy to revert the state of the Ethereum blockchain to a previous point in time. This can be helpful for testing code that modifies the state of the blockchain.
- Built-in coverage reporting: Waffle has a built-in coverage reporting framework that makes it easy to see which parts of your code are being covered by your tests.
https://ethereum-waffle.readthedocs.io/en/latest/
728x90
'Blockchain > HardHat' 카테고리의 다른 글
Hardhat : ethers.constants.AddressZero (0) | 2023.10.21 |
---|---|
Hardhat : ethers.utils.parseUnits() (0) | 2023.10.21 |
Hardhat : hardhat-gas-reporter (0) | 2023.10.20 |
Hardhat : Solidity-coverage (0) | 2023.10.20 |
Hardhat : Event filtering (attach, getLogs, topic, Interface, getTransactionReceipt, parseLog) (0) | 2023.10.20 |
Comments