Code Monkey home page Code Monkey logo

feed-reader-testing's Introduction

Udacity FEND- Project #5: RSS Feed Reader Testing

Task of this project was creating unit tests for Udacity's Feed Reader app. Javascript testing framework Jasmine was used for testing. Tests are conducted to ensure that the JS code works as it's supposed to.

The app itself consists of different links about a topic. User can pick topics from the menu, by clicking on the hamburger menu icon. It takes them to a list of links related to the selected topic. Not very exciting, perhaps - but the app is only there as our playground for testing.

Tests conducted

RSS Feeds:

  • are defined
  • have a valid URL defined
  • have valid names defined

The menu:

  • is hidden
  • toggles visibility on click on the menu icon

Initial Entries:

  • have at least one entry

New Feed Selection:

  • is different from the previous feed

Running instructions

Web live

Unfortunatlely, live web link is unavailable - because for some reason Github pages do not allow me to load the tests (which is the whole point of the task). Therefore,it needs to be run locally which you can achieve by downloading on cloning this repository. Instructions below.

Run locally

  • Download the repository: click download ZIP on the right of the screen and extract the zip file to your computer or clone the repository using Git.
  • Navigate to where you unzipped the file or cloned the repository.
  • Open index.html in your browser.
  • At the bottom of the screen you'll see a Jasmine section which has tests and results of tests performed ( "~ specs, ~ failures").

References

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Thanks to Udacity, my mentor and my classmates for this opportunity and all the support!

feed-reader-testing's People

Contributors

ozana-buljan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.