# Deployment failed using truffle for ERC20 token

**URL:** <https://forum.openzeppelin.com/t/deployment-failed-using-truffle-for-erc20-token/1743>\
**Category:** Contracts\
**Tags:** erc20\
**Created:** [November 12, 2019, 4:32pm UTC](https://forum.openzeppelin.com/t/deployment-failed-using-truffle-for-erc20-token/1743 "2019-11-12T16:32:01Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [November 14, 2019, 7:07am UTC](https://forum.openzeppelin.com/t/deployment-failed-using-truffle-for-erc20-token/1743/9 "2019-11-14T07:07:32Z")

</div>

Hi @Andrei,

The following article is a great resource:

> [@Test smart contracts like a rockstar](https://forum.openzeppelin.com/t/test-smart-contracts-like-a-rockstar/1001):
>
> [One does not simply](https://pics.me.me/one-does-not-simply-five-oh-my-god-thats-awesome-work-11532882.png) test your dapp. Among many other things while developing a decentralized application, testing it is something you always need to do. What most people still don’t do is automate those tests, which leads to a huge loss of time and drains the energy to code. Automated tests have been around for a while and they have been gaining lots of traction in the last decade. Whilst blockchain and smart contract development are fairly new, we can still automate tests for these. We can, s…

Also look at the OpenZeppelin Contracts tests: [https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/test/token/ERC20](https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/test/token/ERC20)

---

_[View the full topic](https://forum.openzeppelin.com/t/deployment-failed-using-truffle-for-erc20-token/1743)._
