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

Add integration test for Rust project template #257

Open
alxkzmn opened this issue Nov 26, 2024 · 0 comments
Open

Add integration test for Rust project template #257

alxkzmn opened this issue Nov 26, 2024 · 0 comments

Comments

@alxkzmn
Copy link
Collaborator

alxkzmn commented Nov 26, 2024

Problem

Currently any error in the Rust project initial template would not be obvious to a developer until they run mopro init and then try to build the template project because the template code is not a module of the crate. E.g., any error in https://github.com/zkmopro/mopro/blob/main/cli/src/template/init/build.rs would not lead to the whole mopro project compilation error.

Details

An integration test should try to build the template code to detect any errors.

Acceptance criteria

A test should be created that is equivalent to running a mopro init and mopro build commands. The test should be a part of the GitHub workflow.

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

1 participant