You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah. cargo nextest --no-run. Though I'm not sure if normal craneLib.buildPackage, would pick these binaries out of ./target. You might need to keep the target and just extract it outside of Nix or something. It's definitely doable though. Anything cargo can do directly, crane can handle too.
@guskovd you can set doCheck = false; in your buildPackage derivation, and directly use craneLib.cargoTest or craneLib.cargoNextest to run the tests both of which should automatically find any test binaries compiled by cargo. Hope this helps!
Way to get the binary for
cargo-test/cargo-nextest
For some reason, I would like to run tests not at the time of building the application, but after
For example, this can be useful when running integration tests
Therefore, I would like to understand whether such binaries can be assembled using crane?
The text was updated successfully, but these errors were encountered: