Test suite based on Jasmine for a web-based application that reads RSS feeds.
- That the RSS Feed is defined.
- That all elements
feed
in theallFeeds
object have a URL defined and that the URL is not empty. - That all elemenst
feed
in theallFeeds
object have a name defined and that the name is not empty. - That the menu element is hidden by default. This test have two expectations: does the menu display when clicked and does it hide when clicked again.
- That when the
loadFeed
function is called and completes its work, there is at least a single.entry
element within the.feed
container. - That when a new feed is loaded by the
loadFeed
function the content actually changes.
- Download folder with application files.
- Unzip downloaded folder.
- Put this folder on local or remote server.
- Open file .html in your browser. Now you can see RSS feeds and tests results below feeds.
- Server (local or external).
- Browser with JavaScript enabled.
The MIT License - See license.md