In this project you are given a web-based application that reads RSS feeds. The original developer of this application clearly saw the value in testing, they've already included Jasmine and even started writing their first test suite! Unfortunately, they decided to move on to start their own company and we're now left with an application with an incomplete test suite. That's where you come in.
Testing is an important part of the development process and many organizations practice a standard of development known as "test-driven development". This is when developers write tests first, before they ever start developing their application. All the tests initially fail and then they start writing application code to make these tests pass.
Whether you work in an organization that uses test-driven development or in an organization that uses tests to make sure future feature development doesn't break existing features, it's an important skill to have!
You will learn how to use Jasmine to write a number of tests against a pre-existing application. These will test the underlying business logic of the application as well as the event handling and DOM manipulation.
To view the feedreader website download all the files and open index.html in your browser.
Alternatively, you can view the site on github pages by using the link (https://github.com/olaglal/feedreader)
RSS Feeds:
- Feeds are Defined
- Feed URL is not empty
- Feed names are not empty
The Menu:
- The menu is hidden by default
- When clicked the menu changes visibility
Initial Entries:
- Feed container has at least 1 entry
New Feed Selection:
- Feed content changes when new feed is selected