Arrange Act Assert Pattern | Smart contract testing course
2.3 هزار بار بازدید -
6 سال پیش
-
When you write a unit
When you write a unit test for your smart contract, what's your attack plan? Do you follow a specific pattern? Do you have any way of structuring your test?
In this video, I will explain you how to structure your solidity tests using the Arrange, Act, Assert pattern.
This is a testing pattern that has been used widely in the software industry and that works very well.
After you watch this video, you will have a better idea of how you should organize your tests for your Solidity smart contracts.
This is part of a full course on Solidity smart contract testing, where I teach how to develop smart contract with the TDD (test-driven-development approach), using the Truffle framework.
eattheblocks-pro.teachable.com/p/smart-contract-te…
►►►CREATE FREE ACCOUNT FOR SOURCE CODE◄◄◄
eattheblocks-pro.teachable.com/
(click on signup)
►►►FULL COURSE ON SMART CONTRACT DEBUGGING◄◄◄
eattheblocks-pro.teachable.com/p/smart-contract-de…
Other Links:
- Official Website eattheblocks.com/
- Author Website: www.julienklepatch.com/
6 سال پیش
در تاریخ 1397/11/29 منتشر شده
است.
2,376
بـار بازدید شده