by Waiel Eid
All you need to do is run the index.html
in your default browser.
The tests defined in the Jasmine/spec/feedreader.js
file will execute automatically and show the result of the test at the bottom of the page.
- A test that loops through each feed in the
allFeeds
object and ensures it has a URL defined and that the URL is not empty - A test that loops through each feed in the
allFeeds
object and ensures it has a name defined and that the name is not empty - A new test suite named
"The menu"
- A test that ensures the menu element is hidden by default
- A test that ensures the menu changes visibility when the menu icon is clicked.
- A test suite named
"Initial Entries"
- A 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
- A test that ensures when the
- A test suite named
"New Feed Selection"
- A test that ensures when a new feed is loaded by the
loadFeed
function that the content actually changes
- A test that ensures when a new feed is loaded by the