Skip to content

Commit

Permalink
test: added scoped fixtures and e2e tests
Browse files Browse the repository at this point in the history
Co-authored-by: zaaarf <me@zaaarf.foo>
Co-authored-by: frelodev <frelodev@gmail.com>
  • Loading branch information
3 people committed Oct 30, 2024
1 parent 9d458f6 commit 5ee8773
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ default = []
# extra
async-trait = ["dep:async-trait"]
serialize = ["dep:serde", "uuid/serde"]
# special tests which require more setup
test-e2e = []
# ffi
java = ["lazy_static", "jni", "tracing-subscriber", "jni-toolbox"]
js = ["napi-build", "tracing-subscriber", "napi", "napi-derive"]
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ pub mod ext;
/// language-specific ffi "glue"
pub mod ffi;

#[cfg(any(feature = "test-e2e", test))]
pub mod tests;

/// internal network services and interceptors
pub(crate) mod network;

Expand Down
Loading

0 comments on commit 5ee8773

Please sign in to comment.