Translations: Lightweight Contracts/252/en

From ArdorDocs
Jump to: navigation, search

For each of the sample contracts provided with the product there is also a matching unit test class with the same name followed by a "Test" postfix. For example contract HelloWorld has a unit test named HelloWorldTest. Unit tests rely on the junit framework, each unit test starts from a clean blockchain copy, which only includes the Genesis block, it then deploys a contract, perform some actions on the contract and tests the output transactions.