mirror of
https://github.com/autistic-symposium/web3-starter-sol.git
synced 2025-07-05 20:15:40 -04:00
Update README.md
This commit is contained in:
parent
0a489b973d
commit
d15a60ca34
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
## tests in solidity
|
||||
|
||||
### tl; dr
|
||||
<br>
|
||||
|
||||
#### assert vs. require
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
* Require() should be used to ensure valid conditions are met that cannot be detected until execution time.
|
||||
* You may optionally provide a message for require, but not for assert.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
#### unit testing
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
|||
|
||||
### resources
|
||||
|
||||
<br>
|
||||
|
||||
* [how to mock solidity contracts](https://ethereum.org/en/developers/tutorials/how-to-mock-solidity-contracts-for-testing/)
|
||||
* [truffle smart contract test framework](https://ethereum.org/en/developers/tutorials/how-to-mock-solidity-contracts-for-testing/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue