| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- web
- middleware
- solidity
- CSS
- HTML
- graphQL
- built in object
- nextJS
- bitcoin
- typeScript
- JavaScript
- node.js
- SSR
- concept
- 삶
- 기준
- blockchain
- Redux
- REACT
- tailwindcss
- error
- express.js
- Interface
- Props
- hardhat
- Ethereum
- useState
- CLASS
- API
- evm
- Today
- Total
ReasonJun
Hardhat : ethereum-waffle 본문
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/
Waffle Documentation — waffle documentation
© Copyright 2020 Ethworks sp z o.o. Revision 0915e727.
ethereum-waffle.readthedocs.io
'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 |