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

Unit tests? #4

Open
CjHare opened this issue Sep 9, 2022 · 1 comment
Open

Unit tests? #4

CjHare opened this issue Sep 9, 2022 · 1 comment

Comments

@CjHare
Copy link
Contributor

CjHare commented Sep 9, 2022

@cyraxred Is it possible to have some unit or integration tests over the code, or are they not possible due to the nature of the tasks?

@cyraxred
Copy link
Contributor

Possible, but I'm not sure if it worth the effort. There is no more changes planned, and the logic is heavily depended on solc and hardhat specifics, which are peer dependencies.

Hence the only useful test here is a test (1) iterates through combinations of versions of peer dependencies; for each combination (2) compiles a sample solidity project, run tasks, then (3) checks/parses outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants