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

Move meaningful name explanation from 14 to first time it is needed #91

Closed
rlmoser99 opened this issue Aug 23, 2020 · 0 comments · Fixed by #100
Closed

Move meaningful name explanation from 14 to first time it is needed #91

rlmoser99 opened this issue Aug 23, 2020 · 0 comments · Fixed by #100

Comments

@rlmoser99
Copy link
Owner

# In a long test file, it can be helpful to declare variables in each
# describe block, to make the tests more readable. When creating another
# instance of the random number and/or subject, use a meaningful name to
# differentiate between instances.

# Create a subject and random_number double with meaningful names.
# A helpful tip is to combine the purpose of the test and the object.
# E.g., ending_number & ending_game or completing_random & completing_game.
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

Successfully merging a pull request may close this issue.

1 participant