mirror of
https://github.com/autistic-symposium/web3-starter-sol.git
synced 2025-11-25 09:03:16 -05: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
|
## tests in solidity
|
||||||
|
|
||||||
### tl; dr
|
<br>
|
||||||
|
|
||||||
#### assert vs. require
|
#### assert vs. require
|
||||||
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
* Require() should be used to ensure valid conditions are met that cannot be detected until execution time.
|
* 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.
|
* You may optionally provide a message for require, but not for assert.
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
#### unit testing
|
#### unit testing
|
||||||
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
### resources
|
### resources
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
* [how to mock solidity contracts](https://ethereum.org/en/developers/tutorials/how-to-mock-solidity-contracts-for-testing/)
|
* [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/)
|
* [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