docs/testing-contracts.rst
.. _testing-contracts:
Testing a Contract ##################
For testing Vyper contracts we recommend the use of pytest <https://docs.pytest.org/en/latest/contents.html>_ along with one of the following frameworks:
Titanoboa <https://github.com/vyperlang/titanoboa>_ is a Vyper interpreter maintained by the Vyper team. It provides:
Getting Started:
Official Titanoboa Documentation <https://titanoboa.readthedocs.io/en/latest/>_.. note::
For comprehensive examples and best practices, refer to the official Titanoboa documentation linked above.
Moccasin <https://github.com/Cyfrin/moccasin>_ is a fast, Pythonic smart contract testing and development framework built on top of Titanoboa. It provides:
.env files)Getting Started:
Official Moccasin Documentation <https://cyfrin.github.io/moccasin/>_