Exactly Protocol
Search
⌃K
🧪

Testing

The smart contract tests can be accessed at Exactly's Github repository. These tests are categorized into two types: Typescript tests utilizing Hardhat's development environment, and Solidity tests leveraging Foundry's testing framework, Forge.
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 Fuzzer 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.sol file, which also serves as the protocol's specifications.

Coverage

Exactly's project is integrated with the Codecov app, allowing users to view real-time code coverage by visiting Exactly's page.