Blockmine
Searchโ€ฆ
Unit testing
We from Blockmine take testing of code very seriously. To ensure the safety and state correctness of our code, we have run 300+ different unit tests. A unit test is an automatic execution of a systemโ€™s function, mathematically verifying the systemโ€™s internal state before and after the execution. Each single system state check is considered as one unit test. Thus, one function execution usually consists of multiple unit tests since multiple state changes are made. All performed unit tests can be found on GitHub.
Please never perform those tests on the main net due to gas costs.๐Ÿ˜‰ Some tests can only be executed by the contract owner, so you may wanna re-deploy them on a local test net using ganache-cli!!
Copy link