Feed Reader Testing
This project uses Jasmine to test a Feed Reader app created by another developer.
How to run
Local
- Open the
index.html
file
Online
Test Suites
RSS Feeds
- Test to make sure that the
allFeeds
variable has been defined and that it is not empty - Test that loops through each feed in the
allFeeds
object and ensures it has a URL defined and that the URL is not empty - Test that loops through each feed in the
allFeeds
object and ensures it has a name defined and that the name is not empty.
The menu
- Test that ensures the menu element is hidden by default.
- Test that ensures the menu changes visibility when the menu icon is clicked.
Initial Entries
- Test that ensures when the
loadFeed
function is called and completes its work, there is at least a single.entry
element within the.feed
container.
New Feed Selection
- Test that ensures when a new feed is loaded by the loadFeed function that the content actually changes.