-
Notifications
You must be signed in to change notification settings - Fork 4.7k
docs: Update react tests task #1866
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
kravaring
left a comment
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.
Please, add AC for all features, otherwise looks good!
react/modules/tasks/tests.md
Outdated
|
|
||
| **Acceptance Criteria:** | ||
|
|
||
| - No changes are made to the logic or structure of class components during testing. |
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.
Hmm.. We had an issue with such restriction last time, so we had to allow refactoring in this module. I suggest allowing doing the refactoring.
| - No changes are made to the logic or structure of class components during testing. | |
| - No major changes are made to the logic or structure of class components during testing. | |
| - Conversion to functional components is not performed. | |
| - Only changes to improve testability are allowed, without altering behavior. |
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.
react/modules/tasks/tests.md
Outdated
| **Acceptance Criteria:** | ||
|
|
||
| - Tests focus on user-visible behavior and component outputs, not internal implementation details. | ||
| - Tests remain valid after refactoring to functional components. |
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.
Would be hard to achieve in this module, refactoring will be done in the next one. I suggest removing this line.
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.
Co-authored-by: kravaring <[email protected]>
…es-school/tasks into feature/react-tests
Title of Pull Request
Update react tests task
🤔 This is a
Description
https://github.com/rolling-scopes-school/tasks/blob/feature/react-tests/react/modules/tasks/tests.md