-
Notifications
You must be signed in to change notification settings - Fork 783
docs: add test guidelines #597
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
Conversation
TESTS.md
Outdated
@@ -0,0 +1,84 @@ | |||
# Guidelines about how to write your unit tests for Gitpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the title short. Maybe just Test Guidelines
?
TESTS.md
Outdated
|
||
it('should not render the Bar component when isOpen is falsy', () => { ... }); | ||
|
||
it('should return 'the NAME' when foo received \'name\' as a param', () => { ... }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either ... return \'the NAME\' ...
or use double quotes and get rid of the backslashes for ... \'name\' ...
TESTS.md
Outdated
@@ -0,0 +1,84 @@ | |||
# Test guidlines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny typo: should be "Guidelines". Let's also use title case here (capital "G").
Oh man thank you @alejandronanez, this was really needed <3 |
Add TEST guidelines. Let me know what do you think.
Closes #595