# foundry-test-functions

# Description

Enforce naming convention on functions for Foundry test cases

# Options

description default
Array of function to be skipped []

# Example Config

{
  "id": "foundry-test-functions",
  "severity": "WARNING",
  "data": [
    "setUp"
  ]
}

# Examples

# Good

Foundry test case with correct Function declaration

function test_NumberIs42() public {}

Foundry test case with correct Function declaration

function testFail_Subtract43() public {}

Foundry test case with correct Function declaration

function testFuzz_FuzzyTest() public {}

# Bad

Foundry test case with incorrect Function declaration

function numberIs42() public {}

# References