Skip to content

Latest commit

 

History

History
 
 

integration-tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Benchmarks & Integration Tests

Motivation

This sub-project is used for integration testing forge with common dapptools repositories, to ensure that it's compatible with the test cases in them, e.g. usage of HEVM cheatcodes, proper forking mode integration, fuzzing etc.

It is also used for getting quick performance benchmarks for Forge.

How to run?

  1. Make sure forge & dapptools are installed
  2. Clone testdata with make testdata from the Foundry project root
  3. Run ./test.sh $REPO_NAME, e.g. ./test.sh LootLoose

Repositories Included

See the repositories listed in Makefile

Adding a new repository

Previously we used git submodules, but it's not great because cargo doesn't have an option to ignore submodules when installing.

Now we use simple git clone --depth 1 --recursive inside Makefile.

To add new repository, see INTEGRATION_TESTS_REPOS variable in Makefile