0.1.1 • Published 1 year ago

foundry-test-utility v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

license npm version

foundry-test-utility

______                    _                _______        _          _    _ _   _ _ _ _
|  ____|                  | |              |__   __|      | |        | |  | | | (_) (_) |
| |__ ___  _   _ _ __   __| |_ __ _   _ ______| | ___  ___| |_ ______| |  | | |_ _| |_| |_ _   _
|  __/ _ \| | | | '_ \ / _` | '__| | | |______| |/ _ \/ __| __|______| |  | | __| | | | __| | | |
| | | (_) | |_| | | | | (_| | |  | |_| |      | |  __/\__ \ |_       | |__| | |_| | | | |_| |_| |
|_|  \___/ \__,_|_| |_|\__,_|_|   \__, |      |_|\___||___/\__|       \____/ \__|_|_|_|\__|\__, |
                                    __/ |                                                    __/ |
                                    |___/                                                    |___/

This package aim to deliver a set of reusable contracts and helper function that can be reused and override in your own Foundry tests.

To add yo your project

First install the package using NPM, Yarn or Forge Install.

npm i foundry-test-utility

or

yarn add foundry-test-utility

or

foundry install marc-aurele-besner/foundry-test-utility

Then add this package path in remapping.text

For NPM/Yarn

foundry-test-utility/contracts/=node_modules/foundry-test-utility/contracts

For Forge Install

foundry-test-utility/contracts/=libs/foundry-test-utility/contracts

Directories

Reference

This repository include helper contracts from:

Directory Tree

foundry-test-utility/
│   .npmignore
│   .prettierignore
│   .prettierrc
│   CONTRIBUTING.md
│   LICENSE
│   README.md
│   awesome-readme.config.js
│   foundry.toml
│   package-lock.json
│   package.json
│   remappings.txt
└─── contracts/
   │   MockERC1155.t.sol
   │   MockERC1155Upgradeable.t.sol
   │   MockERC20.t.sol
   │   MockERC20Upgradeable.t.sol
   │   MockERC721.t.sol
   │   MockERC721Upgradeable.t.sol
   │   README.md
   └─── interfaces/
   └─── mock/
   └─── shared/
   └─── utils/

Don't hesitate to contribute to this project.

0.1.1

1 year ago

0.1.0

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago