Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Solidity tests being in the test folder #6175

Closed
3 tasks
kanej opened this issue Jan 22, 2025 · 0 comments
Closed
3 tasks

Support Solidity tests being in the test folder #6175

kanej opened this issue Jan 22, 2025 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Milestone

Comments

@kanej
Copy link
Member

kanej commented Jan 22, 2025

User feedback in the Private Alpha suggests that users expect to be able to put sol files that are tests under the ./test folder. In Hardhat 2 the ./test folder is used for integration tests.

We should support adding Solidity Test sol file under the ./test folder as well as JS/TS integration tests.

This may be done by include ./tests in the source folder lists by default in our configuration. This needs to be thought through.

TODO

  • Analysis of what to allow to be configured on testing folders/source folders
  • Update of configuration
  • Integration test to cover the setup
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Jan 22, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Jan 22, 2025
@kanej kanej added the v-next A Hardhat v3 development task label Jan 22, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat Jan 22, 2025
@kanej kanej added this to the Public Alpha milestone Jan 22, 2025
@kanej kanej closed this as completed Jan 23, 2025
@github-project-automation github-project-automation bot moved this from To-do to Done in Hardhat Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: Done
Development

No branches or pull requests

1 participant