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

Incomplete oracle failed assertion error messages #5046

Open
nventuro opened this issue May 17, 2024 · 0 comments
Open

Incomplete oracle failed assertion error messages #5046

nventuro opened this issue May 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nventuro
Copy link
Contributor

nventuro commented May 17, 2024

Problem

When developing tests and writing oracle mocks it is sometimes hard to figure out why execution fails. An example of this is the mock returning an incorrectly sized array, in which case we only get

error: Assertion failed: 'Foreign call result array doesn't match expected size'

The error message is good in that it points at the right callsite and oracle, but it'd be great if it could also display more information such as the expected size, actual size, or even actual contents of the oracle response.

@nventuro nventuro added the enhancement New feature or request label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant