Skip to content

abustamam/feedreader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feed Reader

View this project here

The purpose of this project is to learn TDD using Jasmine.

In order to run the tests, simply click here or clone the project and open index.html in your favorite browser.

There are several tests for this project, which are listed below.

RSS Feeds
    are defined
    have URLs
    have names

The menu
    is hidden by default
    when clicked
        is displayed 
        is hidden when clicked again

Initial Entries
    should be loaded
    should have a subtitle

New Feed Selection
    should change the feed
    should be loaded

Note: The Initial Entries should have a subtitle is a failing test as the feature has not yet been added. Adding this feature is outside the scope of this project, but it is something to think about for future commits!

The test checks that the .header-subtitle element is truthy. By default, it is empty, and therefore falsy, so when it is properly populated, it should be truthy. This may lead to false positives, for example, if it loaded raw AJAX, so perhaps adding subtitle to the allFeeds object would allow for this test to be more accurate.

Resources

Jasmine Docs jQuery Docs Try jQuery

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • HTML 1.9%
  • CSS 1.7%