You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context
At the moment the protocol code-base includes two types of Solidity tests: truffle-based Solidity tests and Foundry Solidity tests.. The truffle-based Solidity tests are run as part of the unit tests via the runSolidityTest helper.
I propose to convert them to Foundry tests to enforce more consistency in the code-base and because Foundry is the clear winner in terms of performance and testing capabilities.
Make the necessary refactoring to run them as tests with Foundry/forge - i.e.: replacing the before, beforeEach hooks with setUp. I'm estimating the refactoring process should be fairly straightforward
Context
At the moment the protocol code-base includes two types of Solidity tests: truffle-based Solidity tests and Foundry Solidity tests.. The truffle-based Solidity tests are run as part of the unit tests via the
runSolidityTest
helper.I propose to convert them to Foundry tests to enforce more consistency in the code-base and because Foundry is the clear winner in terms of performance and testing capabilities.
TODO
before
,beforeEach
hooks withsetUp
. I'm estimating the refactoring process should be fairly straightforwardrunSolidityTest
helperThe text was updated successfully, but these errors were encountered: