Skip to content

mentioning opt-level in the readme #68

@Zizico2

Description

@Zizico2

I had a code-base where this was the test profile:

[profile.test]
opt-level = 3

I spent more time then I'd like to admit figuring out why, in unit tests faux was behaving correctly but in integration tests I was getting `SignaturIt::create_signature<E,D>` was called but never stubbed. As you can see the function is generic maybe that's part of the problem. I am mocking it only for a specific type. Removing opt-level = 3 fixed it.

Maybe this is worth mentioning somewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions