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

Reasoner behaviour step "verify answers are consistent across N executions" ignored #612

Open
dmitrii-ubskii opened this issue Mar 18, 2024 · 0 comments

Comments

@dmitrii-ubskii
Copy link
Member

dmitrii-ubskii commented Mar 18, 2024

Problem to Solve

"verify answers are consistent across N executions" reasoner behaviour step is effectively ignored, at least in the Rust driver:

#[step(expr = "verify answers are consistent across {int} executions")]
async fn verify_answers_are_consistent_across_executions(_context: &mut Context, _executions: usize) {
// We can't execute previous query again because don't remember the query
}

Proposed Solution

Save the last query in the Cucumber Context and use that to rerun the query.

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

No branches or pull requests

1 participant