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 testing facilities for subscriptions #459

Closed
wants to merge 36 commits into from

Conversation

dvdplm
Copy link
Contributor

@dvdplm dvdplm commented Sep 10, 2021

Testing subscriptions

Log more information to help test authors to debug params parsing issues.
Add a way to interact with subscriptions without spinning up a server.

types/src/v2/params.rs Outdated Show resolved Hide resolved
@dvdplm dvdplm marked this pull request as ready for review September 11, 2021 14:20
examples/proc_macro.rs Outdated Show resolved Hide resolved
utils/Cargo.toml Outdated Show resolved Hide resolved
utils/Cargo.toml Outdated
Comment on lines 43 to 46
# jsonrpsee-proc-macros = { path = "../proc-macros" }
# jsonrpsee-types = { path = "../types" }
# jsonrpsee-ws-server = { path = "../ws-server" }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@niklasad1 Is this a known gotcha with the proc macro? I couldn't make the proc macro work without importing the full jsonrpsee crate.

Copy link
Member

Choose a reason for hiding this comment

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

ah right, I see that's expected.

Can't you move this test to integration-tests/proc macros instead?

@dvdplm dvdplm closed this Sep 15, 2021
@niklasad1 niklasad1 deleted the dp-debug-substrate-tests branch January 4, 2023 09:35
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.

None yet

2 participants