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

Create integration test for create fuels #2170

Open
2 tasks done
arboleya opened this issue Apr 25, 2024 · 1 comment
Open
2 tasks done

Create integration test for create fuels #2170

arboleya opened this issue Apr 25, 2024 · 1 comment
Assignees

Comments

@arboleya
Copy link
Member

arboleya commented Apr 25, 2024

Summary

The idea is that every PR would publish a PR tag and have an install/assertion routine.

The automation would probably need to drive the UI and assert the results.

Below are the steps of how one could do it manually:

Manual Steps

  1. Ensure you have the correct versions of forc and fuel-core:
 fuelup component add forc@0.55.0
 fuelup component add fuel-core@0.24.3
  1. Scaffold a new project using the next tag:
pnpm create fuels@next
  1. Make the scaffolded app to use the next tag:
cd ./my-app-name # <—— add app name here
pnpm add fuels@next
  1. Run fuels dev in terminal 1
pnpm fuels:dev
  1. Run next dev in terminal 2
pnpm dev

Final Notes

This flow will test all CLIs (below) at once and also the SDK's basic functionality:

  1. create-fuels
  2. fuels
  3. fuels-typegen

Sub-issues

@arboleya
Copy link
Member Author

This would also satisfy all requirements of this older issue:

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

Successfully merging a pull request may close this issue.

3 participants