Setup tests and ci/cd
nemani opened this issue · comments
should we use dapptools, opt to write tests in solidity?
I have never used dapptools, used hardhat + ethersjs with typescript tests. seems like a nice excuse to look into dapptools though.
I am getting a start with simple ole JS @nemani https://github.com/z0r0z/Helios/blob/main/test/Helios.test.js
lemme know what you think :~)
Adding https://github.com/stevennevins/Helios here as well if you all want to use it as a starting point for migrating to a dapptools/foundry environment.
fantastic. Thanks @stevennevins
Adding https://github.com/stevennevins/Helios here as well if you all want to use it as a starting point for migrating to a dapptools/foundry environment.
@stevennevins I was going to add tests with hardhat but saw this which looks like a better way to go. 1 question though, what's the purpose of the Blacksmith?
The blacksmiths are essentially wrappers for user interactions with your contracts. I find blacksmiths can be better than writing user contracts manually because I can run the script to generate new blacksmiths as I make updates
Here is the repo where the script I used originated for more info https://github.com/pbshgthm/blacksmith