File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ jsonwebtoken = { version = "10", features = ["aws_lc_rs"] }
9999[[test ]]
100100name = " integration"
101101path = " tests/integration/main.rs"
102- required-features = [" rest" ]
102+ required-features = [" rest" , " integration-tests " ]
103103
104104[features ]
105105default = [" grpc" , " rest" , " rustls" ]
@@ -120,6 +120,9 @@ derive = ["dep:inferadb-derive"]
120120# WASM support
121121wasm = [" getrandom/js" ]
122122
123+ # Testing (not for production use)
124+ integration-tests = []
125+
123126[package .metadata .docs .rs ]
124127all-features = true
125128rustdoc-args = [" --cfg" , " docsrs" ]
Original file line number Diff line number Diff line change 1010//! inferadb dev start
1111//!
1212//! # Run integration tests (single-threaded to avoid conflicts)
13- //! cargo test --test integration -- --test-threads=1
13+ //! cargo test --features integration-tests -- test integration -- --test-threads=1
1414//!
1515//! # Run with verbose output
16- //! cargo test --test integration -- --test-threads=1 --nocapture
16+ //! cargo test --features integration-tests -- test integration -- --test-threads=1 --nocapture
1717//!
1818//! # Run a specific test
19- //! cargo test --test integration test_fixture_creation -- --nocapture
19+ //! cargo test --features integration-tests -- test integration test_fixture_creation -- --nocapture
2020//! ```
2121//!
2222//! # Environment Variables
You can’t perform that action at this time.
0 commit comments