Skip to content

diwu001/feed-reader-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

In this project a web-based application that reads RSS feeds is tested. Several test suites are written using Jasmine to test the underlying business logic of the application as well as the event handling and DOM manipulation.

Test suites in the project

Test suites can be found at jasmine/spec/feedreader.js

  1. Test suite "RSS Feeds"
  • A test that ensures all RSS feeds are defined.
  • A test that ensures all feeds url are defined and not empty.
  • A test that ensures all feeds names are defined and not empty.
  1. Test suite "The menu"
  • A test that ensures the menu is hidden by default.
  • A test that ensures the menu changes visibility when the menu icon is clicked.
  1. Test suite "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. loadFeed() is asynchronous, so this test will require the use of Jasmine's beforeEach and asynchronous done() function.
  1. Test suite "New Feed Selection"
  • A test that ensure when a new feed is loaded by the loadFeed function that the content actually changes.

How to run the project

Visit http://diwu001.github.io/projects/feed-reader-testing/index.html to check the jasmine test results.

Author: Tina D. Wu
Date: 09 / 17 / 2015

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published