Skip to content

Consider how we can assert that a block of code can not invoke the scheduler #13

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

Open
ioquatix opened this issue Apr 18, 2021 · 0 comments
Assignees

Comments

@ioquatix
Copy link
Member

In some cases, we want to assert that a method cannot possibly be non-blocking.

We should consider introducing a way to determine if the scheduler has been checked or not, so that we can make assertions about the behaviour of the code (non-blocking or not).

expect do
  # ...
end.to_not be_nondeterministic
@ioquatix ioquatix self-assigned this Apr 18, 2021
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