diff --git a/flake.nix b/flake.nix index e906c47..4eb5caf 100644 --- a/flake.nix +++ b/flake.nix @@ -195,7 +195,7 @@ commonArgs // { inherit cargoArtifacts; - cargoNextestExtraArgs = "--bin mdkd"; + cargoNextestExtraArgs = "--lib --bin mdkd"; } ); }; diff --git a/justfile b/justfile index 7810376..59eed3d 100644 --- a/justfile +++ b/justfile @@ -94,9 +94,9 @@ integration-test *args: fix: cargo clippy --all-targets --fix --allow-dirty --allow-staged -# Run tests (unit + doc; use `just integration-test` for integration tests) +# Run tests (lib + bin unit tests; use `just integration-test` for integration tests) test *args: - cargo nextest run --bin mdkd {{args}} + cargo nextest run --lib --bin mdkd {{args}} # Run the server run *args: