golemfactory / golem-crowdfunding

Golem token and crowdfunding contracts
GNU General Public License v3.0
78 stars 27 forks source link

Maybe use populus for testing? #82

Closed pipermerriam closed 8 years ago

pipermerriam commented 8 years ago

Someone pointed me at your repository noting that the tests are written in python. I was curious if your team knew about populus which might take some of the overhead out of your testing setup?

pipermerriam commented 8 years ago

looks like #1 covers this.

miohtama commented 8 years ago

I highly recommend Populus, as py.test based test fixtures and functions make it easier, more elegant, to stress out smart contract functionality. This simplicity especially pays off when dealing with smart contracts where one doesn't want to create hard-to-understand logic.