Brownie Tutorial 25 -- Interactive Debugging II

Published: 29 November 2021
on channel: Curve Finance
266
9

🎥 Interactive Debugging II 🎬

TUTORIAL RESOURCES
[Github] (https://github.com/curvefi/brownie-tu...)
[YouTube] (   • Curve Brownie Tutorial  )

The Brownie interactive flag allows for extra convenience with debugging and development of smart contracts. When a test fails, it drops you right on a console at the exact point of failure with access to all relevant variables.

PYTEST MARK SKIP
Use the pytest skip decorator to unconditionally skip a test.

% import pytest
%
% @pytest.mark.skip(reason="Description")
% ...

HYPOTHESIS SETTINGS
Adjust a setting for one particular function. Brownie specific settings include deadline, max_examples, report_multiple_bugs, stateful_step_count

% from hypothesis import settings
%
% @settings(setting=value)
% ...

TRACEBACK
Returns an error traceback for the transaction, similar to a regular python traceback.

% tx.traceback()


On this page of the site you can watch the video online Brownie Tutorial 25 -- Interactive Debugging II with a duration of hours minute second in good quality, which was uploaded by the user Curve Finance 29 November 2021, share the link with friends and acquaintances, this video has already been watched 266 times on youtube and it was liked by 9 viewers. Enjoy your viewing!