Openzeppelin-contracts: Add testing guide

Created on 16 Jul 2018  路  7Comments  路  Source: OpenZeppelin/openzeppelin-contracts

We should have a readme in the test directory, explaining how OZ tests are structured, linking to relevant truffle docs and maybe including a couple of frequent errors.

documentation feature

All 7 comments

Hi , I find the TESTING.md in file test folder mentions "please reference OpenZeppelin鈥檚 Testing Guide." , Can I ask where I can find it?

We don't have one yet, looks like that document is wrong. I intend to work on this very soon though.

@nventuro can I help you with this? I would like to learn more about the testing process while writing documentation

@ianbrtt go ahead! Do note that some tests still need refactoring and are not up to snuff, but you can take a look at some of the newer ones for inspiration (e.g. Pausable, the Escrow tests, RefundablePostDeliveryCrowdsale).

How do i even run a test, node won't compile it, and looking for the 'testing guide' turned up nada

I just want to run the "getBouncerSigner" function but I can't figure out how.... Babel won't even recursively compile it

Hi @projectoblio, Ive been learning about these tests and started writing a guide in the zeppelin forum. You can search there maybe it helps what I learnt and if you have any questions you can do them there, so we all learn from each other. Hope it helps

Hey @projectoblio, what issue are you having precisely? You shouldn't require Babel to run our suite, npm test (after an npm install) should just work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frangio picture frangio  路  3Comments

LogvinovLeon picture LogvinovLeon  路  4Comments

mswezey23 picture mswezey23  路  4Comments

rstormsf picture rstormsf  路  4Comments

bh2smith picture bh2smith  路  4Comments