GithubHelp home page GithubHelp logo

aynalemfan / gen-testing-debrief Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ocskier/gen-testing-debrief

0.0 0.0 0.0 25 KB

Unit Testing Assignment for Sync Debrief

License: MIT License

JavaScript 100.00%

gen-testing-debrief's Introduction

gen-testing-debrief

Unit Testing Assignment for Sync Debrief

Getting Started

  1. Select one group member to be the coder for the group, the coder will follow the following instructions with the help of the group:

    • FORK this repository onto your github
    • Copy the https URL from your FORKED repo
    • Navigate to Git Bash on your local machine and cd to a place you wish to clone this activity to work on it
    • Once where you need to be in bash, run git clone followed by the URL you copied from your forked copy of this github repository
    • Open VSCode, select File in the top right, and select Open Folder
    • Find the folder you cloned named gen-testing-debrief and open it, then familiarize yourself with the code first in mathfxns.js. Read the comments in the class definition to figure out what each method is meant to do, and move to the tests folder and come up with some simple tests in mathfxns.test.js to find errors, oversights, or bugs in the source code! Don't forget to run the following bash command to install the mocha and chai packages before running tests:
    npm i
  2. Work together to add appropiate tests for this activity, one by one. If you get stuck, don't forget to use your Google-Fu and problem solving skills. TA's will be hopping into each room to check in, message one of us on Slack for specific help.

  3. Ask yourselves the following questions. What types of input will cause problems in the methods? Do they handle invalid input appropriately? Do they throw a descriptive error upon invalid input? Upon valid input, does the method work as expected (i.e. does the method produce the expected result)?

  4. When your team is finished with the activity, submit a pull request from your fork!

  5. At the end of the allotted time, we will go over this exercise step by step. Group members are expected to raise their hands and guide the class through each solution.

gen-testing-debrief's People

Contributors

ocskier 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.