Created
January 19, 2023 13:41
-
-
Save PaulRBerg/d280ba23374e251234ddaee59ff00108 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity >=0.8.17; | |
import { PRBTest } from "@prb/test/PRBTest.sol"; | |
contract ForgeTestNamingConvention is PRBTest { | |
// Standard tests | |
function test_Description() external {} | |
// Tests expecting a revert | |
function test_RevertWhen_Condition() external {} | |
// Fork test | |
function testFork_Description() external {} | |
// Fork test that expects a revert | |
function testFork_RevertWhen_Description() external {} | |
// Fuzz test | |
function testFuzz_Description() external {} | |
// Fuzz test that expects a revert | |
function testFuzz_RevertWhen_Description() external {} | |
// Fork test that also fuzzes | |
function testForkFuzz_Description() external {} | |
// Fork test that also fuzzes and expects a revert | |
function testForkFuzz_RevertWhen_Condition() external {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment