-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature: Test contracts using Scarb or Foundry #157
Comments
can i take this? |
Yeah sure @faytey |
Lemme know if you need anything regarding this issue |
Thanks @rjnrohit currently on it |
please i'm having issues running the setup, in the API folder on bash it fails to clone the compilers, I'm using the readme to setup. Please what do you recommend |
did you run the |
yes i did run the git submodule update
|
|
hello @rjnrohit still awaiting feedback on this |
Feature Request Summary
It would be amazing to be able to test the cairo contracts directly in the IDE. Currently, testing is only feasible via two strategies:
Detailed Description
Both Scarb and Foundry have testing integrations with slightly different styles. We should support at least Foundry's implementation of this in the IDE itself.
UI Integration
Sketch or Mockup: [Link to an image or diagram if possible]
A whole panel should be dedicated to testing, similar to how it's done in VS Code. The output of tests should probably be piped to the terminal provided.
Backend Implementation
For now, I assume we'll need to run all the testing on the backend, this requires more api's which simply pipe the response of the remote execution to the browser. In the long term the wasm'd version of foundry should support this out of the box.
Desired Behavior
Examples from Other Projects
Additional Information
Note: Thanks for taking the time to fill out this feature request. Our team will review it and provide feedback or ask further questions if needed. Your input helps us make our browser-based IDE better for everyone!
The text was updated successfully, but these errors were encountered: