Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snsakib/unit-testing-solidity-smart-contract


https://github.com/snsakib/unit-testing-solidity-smart-contract

blockchain chai nft-marketplace smart-contract solidity unit-testing

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# Unit Testing Solidity Smart Contract

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/your-username/mastering-state-management/blob/main/LICENSE)

## Installation

To get started with the course project code, follow these steps:

1. Clone this repository to your local machine using the following command:

```shell
git clone https://github.com/snsakib/unit-testing-solidity-smart-contract.git
```

2. Change to the project directory:

```shell
cd unit-testing-solidity-smart-contract
```

3. Install the dependencies using npm or yarn:

```shell
npm install
```
or
```shell
yarn install
```

4. To run the unit test file, open a terminal and run the following command:

```
npx hardhat test
```