crates/sui-indexer-alt-e2e-tests/README.md
telemetry_subscribers::init_for_testing();
--nocapture (goes after --) command line flag (see https://doc.rust-lang.org/cargo/commands/cargo-test.html#display-options).RUST_LOG (example RUST_LOG=debug) environment variable (defaults to info).Add new Cargo run configuration
test -p sui-indexer-alt-e2e-tests --test transactional_tests
graphql/epochs/query.move with the test you want to run)
test -p sui-indexer-alt-e2e-tests --test transactional_tests graphql/epochs/query.move
To prevent error: invalid value 'json' for '--format <pretty|terse|json>' or error: unexpected argument '-Z' found, uncheck
RustRover -> Settings -> Advanced Settings -> Show test results in the Test tool window
To prevent FATAL: postmaster became multithreaded during startup in homebrew postgres15 server logs,
set Environment Variables to LC_ALL=en_US.UTF-8.
(https://github.com/Homebrew/homebrew-core/issues/124215#issuecomment-1445300937)