Udacity_Project_4
Feed Reader Testing Project
Testing the Feed Reader app using Javascript testing framework Jasmine.
Reference
How to run this test
- Simply visit here, I publicly hosted this test.
How to run the this locally
Option-1 - Simple:
- Click "Clone in Desktop" / "Download ZIP"
- Open the folder
- Open
index.html
on your preferred browser - There should be several test results at the bottom of the screen that says "~ specs, ~ failures"
The tests:
- tests to make sure that the allFeeds variable has been defined and that it is not empty.
- loops through each feed and determines if the URL is defined and not empty.
- loops through each feed and determines that each feed has a name and not empty.
- ensures the menu element is hidden by default.
- validates proper functioning of the hamburger menu toggle.
- tests that there is at least one entry in feed.
- tests that new content is loaded by loadFeed().