Skip to content

Clarifying how to override the default testing directory? #1140

Answered by onbjerg
PaulRBerg asked this question in Q&A
Discussion options

You must be logged in to vote

No, sorry, this is incorrect. The book is a little out of date.

Our default template places tests in ./src/test and foundry.toml specifies the test directory to be ./test. Tests in ./src (and subfolders) are run as well as tests in ./test.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PaulRBerg
Comment options

Answer selected by onbjerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants