Giter VIP home page Giter VIP logo

node-testing1-project's Introduction

Unit Testing

Instructions

Task 1: Project Setup and Submission

Your assignment page on Canvas should contain instructions for submitting this project. If you are still unsure, reach out to School Staff.

Task 2: Minimum Viable Product

  • For Exercises 1-7 inside index.js:
    • Write the tests in index.test.js.
    • Implement the function or the class in index.js.

Notes

  • Run index.js with Nodemon executing npm run dev.
  • Run tests locally with Jest executing npm test.
  • You can add console.logs to index.js to manually test your code. (e.g. console.log(car.drive(10));).
  • The output of your log statements can be found in the terminal you run npm run dev in.

Hot Tips

  • You will need to brush up on your JavaScript and use the Jest documentation to solve this challenge.
  • Do not install Jest, as it's already installed.
  • Do not alter your package.json file except to install extra libraries or add extra scripts. Do not update existing dependencies.
  • In your solution, it is essential that you follow best practices and produce clean and professional results.
  • Schedule time to review, refine, and assess your work.
  • Perform basic professional polishing including spell-checking and grammar-checking on your work.

node-testing1-project's People

Contributors

ladrillo avatar ryanzillini 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.