joshunhappy / udacity-fend-feedreader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feed Reader Testing

This is a project for (Front-End Development Nanodegree)[https://www.udacity.com/course/front-end-web-developer-nanodegree--nd001] at (Udacity)[https://www.udacity.com] is based on the (Feed reader repository)[https://github.com/udacity/frontend-nanodegree-feedreader]

How to run this application

  1. Download or clone this (repositiory)[https://github.com/joshisadesigner/frontend-nanodegree-feedreader.git]
  2. Open index.html in your browser
  3. When the page is loaded scroll to the bottom of the page to review Jasmine Testing Results

Project objective

This project objective is to learn the benefits of (Test-Driven Development)[https://en.wikipedia.org/wiki/Test-driven_development] using (Jasmine)[https://jasmine.github.io] framework

Applied Test

  • Does the feed articles exists?
    • Check if feeds are defined
    • Check that feeds is not empty
  • Does the feed article has url?
    • Check if the article url is defined
    • Check if the article url is not empty
  • Does the feed article has name?
    • Check if the article name is defined
    • Check if the article name is not empty
  • Does the menu works correctly?
    • Check if the menu is hidden when loaded
    • Check if the menu appears on clicking header menu botton
  • Does the feed article exists?
    • Check if there are article after document load
  • Does the feed articles change when new content is called?
    • Check if the article content changes

About


Languages

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