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

Fail if no expectations within a test #4

Open
ybiquitous opened this issue Oct 5, 2022 · 0 comments
Open

Fail if no expectations within a test #4

ybiquitous opened this issue Oct 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ybiquitous
Copy link
Owner

ybiquitous commented Oct 5, 2022

E.g.

test "no expectations" do
  if not_truthy
    expect(foo).to_eq 1 # never run
  end
end
@ybiquitous ybiquitous added the enhancement New feature or request label Oct 5, 2022
@ybiquitous ybiquitous changed the title Fail no expectations within a test Fail if no expectations within a test Oct 5, 2022
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
None yet
Development

No branches or pull requests

1 participant