Luzr / nanodegree-feedreader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front-end Nanodegree Project - 6 from Udacity

Feedreader Testing

Overview

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.

View a live version here (make sure to load unsafe scripts).

How to run

Clone or download the .zip repo to your desktop and run index.html.

  • Scroll to the bottom of the page and look for specs bar. It should be green and say "5 specs, 0 failures". passing test

  • If there are any failures there will be a red bar and it will say how many failures have occurred.

  • If there are any failures read the error below the test suite to see what’s causing it failing test

Tests

The tests that are ran against index.html are in the feedreader.js file located in \jasmine\spec\ folder.

  • The allFeeds variable isn't empty and is defined.
  • The menu element is hidden by default and will change when clicked.
  • The loadFeed function is called and completes its work properly.
  • The loadFeed function loads new content.

About


Languages

Language:JavaScript 96.5%Language:HTML 1.8%Language:CSS 1.7%