We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It makes little sense to write the test code like
context 'when something' do before do # some setup end it 'tests something' do # <--- only one test case # some testing end end
The test is now unnecessary segregated. When more before blocks precedes it outside of the context it is even harder to combine all these pieces.
before
context
Better is to write it like
context 'when something' do it 'tests something' do # some setup # some testing end end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It makes little sense to write the test code like
The test is now unnecessary segregated. When more
before
blocks precedes it outside of thecontext
it is even harder to combine all these pieces.Better is to write it like
The text was updated successfully, but these errors were encountered: