Closed aakilfernandes closed 4 years ago
@aakilfernandes tests are basically documented in .travis.yml
. They consist of two parts:
yamllint -c .yamllint <token files...>
checks that the YAML files are well formed and adhere to the YAML style guide.python scripts/test.py <token files...>
checks that the token files contain the right data. That includes checking for presence of certain field like address and name, verifying that all links work, and that the token described responds to the standard EIP20 methods like balanceOf
. You'll likely need to modify these tests in accordance with your needs.Let me know if you have any other questions.
Hey,
We're working on a fork of tokenbase which includes NFTs and RFTs. Could you update the repo with information on how to run tests?