Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Smart Contract Tester

Satinder Rawal answered on April 22, 2023 Popularity 5/10 Helpfulness 1/10

Contents


More Related Answers

  • hardhat contract verify
  • Contract Testing
  • Smart Contract unit test utilities

  • Smart Contract Tester

    0

    The Smart Contracts Tester library is a small Python library that can be used to run any function defined in a Smart Contract. It is designed to be used for unit testing of Smart Contracts.

    It provides a similar environment to the one that a Smart Contract will run in once executed in Vault. It also provides a series of mock objects that can be used to define the behaviour of the Vault API a Smart Contract uses.

    There are two aspects to the library. Running functions and the types.

    Installation

    You can download the zipped tester libraries using the links in the table below. See the LICENSE.txt file for licensing information. The tester library versions align with the Contract API versions.

    From Contract API version 3.4, Smart Contract Tester library is named contract_tester and will contain two separate modules smart_contract_tester and supervisor_contract_tester.

    From Contract API version 3.9, the Contract Tester will contain three separate modules smart_contract_tester, supervisor_contract_tester and contract_module_tester. 

    https://docs.thoughtmachine.net/vault-core/3-3/EN/reference/contracts/development_and_testing/#smart_contract_tester-installation

    Popularity 5/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Apr 22 2023
    Satinder Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.