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(e2e-tests): make tests more ergonomic #473

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

itegulov
Copy link
Contributor

@itegulov itegulov commented Dec 5, 2024

What 💻

Closes #472

So uhhh I might have overengineered this a little bit but essentially this PR introduces TestingProvider - a helper wrapper that manages rich accounts, can spawn pre-populated txs, returns pending txs that can be asserted for finalization status etc.

Why ✋

We are slowly growing our collection of tests and I think it makes sense to try and reduce boilerplate for common scenarios

@itegulov itegulov requested a review from a team as a code owner December 5, 2024 06:53
Copy link
Member

@popzxc popzxc left a comment

Choose a reason for hiding this comment

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

Noice.

@itegulov itegulov merged commit 5cd67e3 into main Dec 5, 2024
13 checks passed
@itegulov itegulov deleted the daniyar/e2e-tests-less-boilerplate branch December 5, 2024 08:50
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.

refactor(e2e-tests): reduce alloy boilerplate
2 participants