Download tests/integration-tests/src/lib.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/src/lib.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/src/lib.rs
-
curl -L -o lib.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/src/lib.rs
412 Bytes
| //! End-to-end integration tests for the Koharu backend. | |
| //! | |
| //! Each test under `tests/` spawns a fresh [`TestApp`]: a temporary app-data | |
| //! root, an `App`, an axum server on an ephemeral port, and a preconfigured | |
| //! [`koharu_client::apis::configuration::Configuration`]. Tear-down drops | |
| //! the tempdir; cleanup is best-effort (file locks on Windows may linger). | |
| pub mod harness; | |
| pub use harness::TestApp; | |