New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

foundry-test-utility

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foundry-test-utility

Test utility for Foundry

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
2
Created
Source

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.

Keywords

foundry

FAQs

Package last updated on 09 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts