-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
Fix JS testing using mocks lesson #1361
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this is low priority, but there's no reason to close it. |
Hi Alina, I have completed my work on Issue 1358 (have not written the report yet) and would like to be assigned to this issue as long as you're not in a hurry. I'm starting an intern position tomorrow and anticipate the next week or so I'll be furiously treading water. I did Jasmine testing while completing Udacity's front end nanodegree course. |
I would like to work on this task |
Problems that are in the tutorial:
Change the explanation to:
|
Are there specific resources to which these are supposed to link? Or is part of this story finding new ones? |
…d-abstraction to be more clear Note that of the problems raised in Techtonica#1361, this solves 3-7 but not 1-2.
@severinrudie whoever made this file never changed the template. It doesnt mean "find one video and one article", it means this is where the materials used in the outline are gathered for easy reference, so please replace the google ones with links already in the lesson. If you have more, you can provide them along with directions on how to use the link (which section to read? how much time to spend on it? etc) |
Here's an example of a good Materials section: https://github.com/Techtonica/curriculum/blob/main/web/css.md |
remaining issues moved to #1584. the rest are resolved. |
Fix the problems below, in the lesson: https://github.com/techtonica/curriculum/blob/main/testing-and-tdd/mocking-and-abstraction.md
Problems found in the tutorial:
Materials:
Example video (10 min) -> This link goes to www.google.com. Its not an actual link to video
Other example article(20 min read) -> This article link goes to www.google.com. It does not go to an actual link.
Rewrite the following to help user better understand:
Challenge
Following example above, try to represent the following scenarios and think about what would happen:
Change the explanation to:
Challenge
Hope you were able to follow the example in the earlier section. Now, take a look at the following scenarios and see if you can make the changes:
Well, it's tricky because getTodo is still making an external call to the database which is difficult to handle. -> In this section, its hard to understand which database the author is pointing to. Readers may need more detail on the database and why making the external call is difficult and challenging.
our reference TODO project) -> typo: our reference TODO project
It turns out that when we want to make complex verifications around how a mock is called doing that all manually is a lot of work... that somebody else has done for us. -> This line is confusing. Need more simpler language explanation about the complex verification.
Independent Practice
It's an interesting task to implement your own mocking and validation code by hand and teaches you a lot of neat tricks. If you're feeling adventurous give that a try!
The above section is not very helpful, and maybe redundant. Instead we can give link to example problems to practice on.
The text was updated successfully, but these errors were encountered: