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

refactor(starknet_integration_tests): add TestScenario to enable testing different scenarios #3795

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

Yael-Starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @Yael-Starkware)


crates/starknet_integration_tests/src/utils.rs line 64 at r1 (raw file):

const N_TXS_IN_FIRST_BLOCK: usize = 2;

pub enum TestScenario {

Looks like a test scenario should actually be a trait?

@Yael-Starkware Yael-Starkware force-pushed the yael/create_first_block_txs branch from f6f3c8b to 72d83ce Compare February 2, 2025 06:39
Copy link
Contributor Author

@Yael-Starkware Yael-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/starknet_integration_tests/src/utils.rs line 64 at r1 (raw file):

Previously, alonh5 (Alon Haramati) wrote…

Looks like a test scenario should actually be a trait?

great idea, thanks!
done.

@Yael-Starkware Yael-Starkware force-pushed the yael/integration_test_test_scenarios branch 3 times, most recently from e58d457 to 65c0136 Compare February 2, 2025 10:06
@Yael-Starkware Yael-Starkware changed the base branch from yael/create_first_block_txs to main February 2, 2025 10:06
@Yael-Starkware Yael-Starkware force-pushed the yael/integration_test_test_scenarios branch from 65c0136 to df1764f Compare February 2, 2025 10:25
Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 216 of 216 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Yael-Starkware)

@Yael-Starkware Yael-Starkware added this pull request to the merge queue Feb 2, 2025
Merged via the queue into main with commit 3633c99 Feb 2, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

3 participants