Giter Site home page Giter Site logo

3-musketeers's Introduction

3 Musketeers

RDD, CDD and TDD

3-musketeers

Table of Contents

🐣 Introduction

Being a Good Programmer Isn't Just About Writing Code.

It's also writing documentations, comments and unit tests.

🎯 Objectives

  1. write the README.md and missing comments (use JSDoc format) for the library cash
  2. write the Unit Tests for the library starwars

👩‍💻 Just tell me what to do

  1. Fork the project via `github`

    fork

  2. Clone your forked repository project `https://github.com/YOUR_USERNAME/3-musketeers`
    cd /path/to/workspace
    ❯ git clone [email protected]:YOUR_USERNAME/3-musketeers.git
  3. Do things
  4. Commit and push your different modifications
    cd /path/to/workspace/3-musketeers
    ❯ git add -A && git commit -m "docs(readme): add usage section"
    ❯ git push origin master

Note:

🏃‍♀️ Steps to do

cash: RDD and CDD

Understand first the library features

cd /path/to/workspace/3-musketeers/cash
❯ npm i
❯ node bin/index.js

# chech what's going on
# ...
  1. Complete the cash/README.md file with a complete description of installation, usage... of the library
  2. Add block commments (use JSDoc format) for the file cash/bin/cash.js

Understand first the library features

cd /path/to/workspace/3-musketeers/starwars
❯ npm i
❯ node sandbox.js

# chech what's going on
# ...
  1. Run unit tests with npm run test
  2. Complete the unit tests (with Jest as testing framework) file starwars/src/index.test.js to cover at least 80%

About Jest

  • Getting started with Jest
  • Jest uses matchers to let you test values in different ways.
  • When you're writing tests, you often need to check that values meet certain conditions. expect gives you access to a number of matchers that let you validate different things.

🛣️ Related course

Licence

Uncopyrighted

3-musketeers's People

Contributors

92bondstreet avatar

Watchers

James Cloos 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.