hardhat
Verified for current stable LTS
Hardhat Command: Run All Given Test Files
Use for run all given test files with Hardhat. Exact CLI syntax to run all given test files using Hardhat.
When to use this: Use for run all given test files with Hardhat.
Command Syntax
hardhat test <path/to/file1.js path/to/file2.js ...> hardhat test <path/to/file1.js path/to/file2.js ...> Command Breakdown
hardhat is the base executable for this command.
FAQ
Purpose: Exact syntax to run all given test files using Hardhat.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Hardhat Command: Clean Cache And All Artifacts
hardhat clean Hardhat Command: Compile Current Project And Build Artifacts hardhat compile Hardhat Command: List Available Subcommands Or Create New Project hardhat Hardhat Command: Run Mocha Tests hardhat test Hardhat Command: Run User Defined Script After Compiling hardhat run <path/to/script.js>