Skip to content

Hololovich/js-assignments

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brest Rolling Scopes #Brest Rolling Scopes School

Javascript Assignments Build Status

Yet another javascript assignments. There are a lot of interactive javascript resources for beginners, but most of them are online and do not cover the modern programming workflow. There are some excellent training resources on github (https://github.com/rmurphey/js-assessment, https://github.com/mrdavidlaing/javascript-koans, https://github.com/vasanthk/js-bits etc) but they are not exactly simulate the everyday programming process. So the motivation of this project is to show TDD process in the wild to the beginners. Assingment tests are implemented in various ways to feel a difference and gain the experience what manner is good, what is bad and what is ugly.

Another idea is to prepare assignment to cover all standard javascript functions, to drilling and mastering skills. Some tasks are practical, but some tasks are rather synthetic.

And the last idea is to inure trainees to work using unit test and feel uncomfortable when programming without tests.

To start javascript assignments please follow the next steps:

How to fork this repo

  • Click the Fork button at the top-right corner of this page and the repository will be copied to your own account.
  • Run git clone https://github.com/<your-account>/js-assignments.git from command line to download the repo.

How to setup travis-ci

  • Open https://travis-ci.org/ and sign in with your github account.
  • Activate your forked repo js-assignments.
  • Edit local README.md file and update all links (just replace all occurrences of 'rolling-scopes-school' with your account name).
  • Commit and push updated README.md to github:
  git add README.md
  git commit -m "Update the links"
  git push origin master

How to setup work environment

  • Download and install the latest Nodejs.
  • Run npm install from you repository folder to download the required modules. All dependent modules will be located in the node_modules folder.
  • Open your favorite editor and complete tasks.
  • Open your terminal and use npm test command to run all tests. You can run single file by passing it as argument npm test ./test/01-strings-tests.js.
  • The local repo folder has the following structure: