paritytech / subxt

Interact with Substrate based nodes in Rust or WebAssembly
Other
408 stars 244 forks source link

Allow running integration tests given a SUBXT_TEST_URL=ws://foo:port #1640

Closed jsdw closed 3 months ago

jsdw commented 3 months ago

This isn't always super useful because the tests assume a fresh node each time, but gives us the ability to run all or specific tests against some external ndoe at least.

To avoid ctests conflicting you'll need to use --test-threads 1. You'll still see some failures because a few tests will assume a fresh state and then update it.