Foundry Testing

Video Tutorial

For the visually inclined, view our video explainer HERE.

Example Code

Foundry test suite from our Money Router example

Foundry Example

Within a foundry test file, you can call the SuperfluidFrameworkDeployer contract directly in your setUp() function.

When using foundry, you'll need to install superfluid-finance/ethereum-contracts. If you have issues when running forge install, try using the --no-commit flag.

Last updated

Was this helpful?