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

Write tests at the component-level of the abigen! #6

Closed
digorithm opened this issue Nov 11, 2021 · 4 comments · Fixed by #55
Closed

Write tests at the component-level of the abigen! #6

digorithm opened this issue Nov 11, 2021 · 4 comments · Fixed by #55
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@digorithm
Copy link
Member

Right now we have an end-to-end test suite for the abigen! under fuels-abigen/tests/harness.rs.

But it would be nice to have more granular tests at the level of each main component of the abigen!, for instance at the level of custom_types_gen.rs, where we generate custom types coming from the ABI. Or functions_gen.rs, where we generate the functions coming from the ABI.

@digorithm digorithm added enhancement New feature or request good first issue Good for newcomers labels Nov 11, 2021
@iqdecay iqdecay self-assigned this Jan 19, 2022
@iqdecay
Copy link
Contributor

iqdecay commented Jan 19, 2022

Assigning myself because it will help me dig into the code more!

@digorithm
Copy link
Member Author

Awesome! Yeah, this is a great issue to get a good feel on how things are happening in the codegen portion of the SDK.

@iqdecay
Copy link
Contributor

iqdecay commented Jan 27, 2022

Still some tests to write (they should be coming soon)

@iqdecay
Copy link
Contributor

iqdecay commented Feb 2, 2022

Was closed by #73 and #55

@iqdecay iqdecay closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
2 participants