-
Notifications
You must be signed in to change notification settings - Fork 51
Earth - Anya #35
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
base: master
Are you sure you want to change the base?
Earth - Anya #35
Conversation
dHelmgren
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.
Task List
Major Learning Goals/Code Review
| Criteria | yes/no, and optionally any details/lines of code to reference |
|---|---|
| At least 6 commits with meaningful commit messages | ✔️ |
| Routes follow RESTful conventions | ✔️ |
Uses named routes (like _path) |
✔️ |
| Creates Models and migrations | ✔️ |
| Creates styled views | ✔️ |
| Handles errors like nonexistant tasks | ✔️ |
Uses form_with to render forms in Rails |
✔️ |
Functional Requirements/Manual Testing
| Functional Requirement | yes/no |
|---|---|
| Successfully handles index & show | No add task on index w/o an existing task :'( |
| index & show tests pass | ✔️ |
| Successfully handles: New, Create | ✔️ |
| New, Create tests pass | ✔️ |
| Successfully handles: Edit, Update | ✔️ |
| Edit, Update tests pass with valid & invalid task ids | ✔️ |
| Successfully handles: Destroy, Task Complete | ✔️ |
| Tests for Destroy & Task Complete include tests for valid and invalid task ids | ✔️ |
Overall Feedback
| Overall Feedback | Criteria | yes/no |
|---|---|---|
| Green (Meets/Exceeds Standards) | 5+ in Code Review && 6+ in Functional Requirements | ✔️ |
| Yellow (Approaches Standards) | 3+ in Code Review && 5+ in Functional Requirements, or the instructor judges that this project needs special attention | |
| Red (Not at Standard) | 0-2 in Code Review or 0-4 in Functional Reqs, or assignment is breaking/doesn’t run with less than 5 minutes of debugging, or the instructor judges that this project needs special attention |
| <% end %> | ||
| <%= link_to "Add new task", new_task_path %> | ||
| </ul> | ||
| <% else %> | ||
| <h3>No tasks in the system<h3> | ||
| <% end %> No newline at end of file |
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.
Okay, this is a small thing, but it has big implications!
You left this link_to inside the positive case of the if block!~ Which means, if there are no tasks already in the server's DB, then there is no way to add them! 😱 This is a good reminder that Tests Don't Catch Everything, and that clicking thru a website and trying ALLL the features is important!
| <% end %> | |
| <%= link_to "Add new task", new_task_path %> | |
| </ul> | |
| <% else %> | |
| <h3>No tasks in the system<h3> | |
| <% end %> | |
| <% end %> | |
| </ul> | |
| <% else %> | |
| <h3>No tasks in the system<h3> | |
| <% end %> | |
| <%= link_to "Add new task", new_task_path %> |
Task List
Congratulations! You're submitting your assignment!
Comprehension Questions