Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harness failure popup should ignore UNDETERMINED properties #134

Open
celinval opened this issue Sep 8, 2023 · 0 comments
Open

Harness failure popup should ignore UNDETERMINED properties #134

celinval opened this issue Sep 8, 2023 · 0 comments

Comments

@celinval
Copy link
Contributor

celinval commented Sep 8, 2023

Requested feature: Only included FAILED properties in the failure pop-up
Use case: Debugging a harness failure
Link to relevant documentation (Rust reference, Nomicon, RFC):

Test case:

    /// The unwind value is too low triggering a unwind failure. This will flip all properties to undetermined.
    #[kani::proof]
    #[kani::unwind(1)]
    fn verify_unwrap() {
        let mut option: Option<&str> = Some("hi");
        for i in 0..2 {
            if i % 2 == 0 {
                option = None;
            }
        }
        option.unwrap();
    }

For this test, the harness failure popup will be quite verbose since it will include all properties that were marked with UNDETERMINED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant