Skip to content

Tests are running, but cargo-mutants detects 0 mutants to test #385

Answered by sourcefrog
kevin-valerio asked this question in Q&A
Discussion options

You must be logged in to vote

Actually my link there was to a different similarly-named crate.

You're running it in https://github.com/paritytech/polkadot-sdk/blob/master/cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/src/lib.rs.

All of the code in this crate is #cfg[test] and also there are no functions in it, so there's nothing to mutate. Try running it in a crate that has some non-test code.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@kevin-valerio
Comment options

@sourcefrog
Comment options

@sourcefrog
Comment options

@sourcefrog
Comment options

Answer selected by kevin-valerio
@kevin-valerio
Comment options

@sourcefrog
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #384 on July 17, 2024 14:31.