move-language / move

Apache License 2.0
2.25k stars 684 forks source link

[Feature Request] Allow ignored test to be run when `--ignored` is passed to cargo test. #921

Open ksolana opened 1 year ago

ksolana commented 1 year ago

🚀 Feature Request

The datatest harness currently does not support running ignored tests.

Motivation

I'd like to add failing test that developers should be able to run when a flag is passed. cargo test requires this but datatest_stable version used in move doesn't implement the option to run ignored tests: https://github.com/nextest-rs/datatest-stable/blob/aaaeaf33ced32a476a158d5326e227b716cb3219/src/runner.rs#L43