Question : before() in solidity testing
Answered by : sagar-shrestha
The before function runs before the testing begins and
it can be used to set the adequate variables to be used in each test.
Source : https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj3l7WB04f0AhXiuksFHVs1CYgQFnoECAIQAQ&url=https%3A%2F%2Fdocs.morpheuslabs.io%2Fdocs%2Ftesting-the-solidity-smart-contract-step-by-step&usg=AOvVaw0u4dzgECaeNDxNq5I-SSwH | Last Update : Mon, 15 Nov 21