🧪Testing

The smart contract tests can be accessed at Exactly's Github repositoryarrow-up-right. These tests are categorized into two types: Typescript tests utilizing Hardhat's development environmentarrow-up-right, and Solidity tests leveraging Foundry's testing framework, Forgearrow-up-right.

Our team continuously updates, adds, and reviews these tests. Anyone is welcome to try them independently. To do so, clone the project, install the necessary dependencies, and execute the command yarn test.

In addition, Exactly employs Forge's Fuzzerarrow-up-right as another tool for smart contract testing. Fuzzing is an essential testing method, as it can reveal edge cases that are difficult to identify through manual unit testing. The fuzz tests for Exactly Protocol can be found in the Protocol.t.solarrow-up-right file, which also serves as the protocol's specifications.

Coverage

Exactly's project is integrated with the Codecov apparrow-up-right, allowing users to view real-time code coverage by visiting Exactly's pagearrow-up-right.

Last updated

Was this helpful?