/100-Specs

Make 100 tests pass

Primary LanguageJavaScript

100-Specs

There are 100 test Specs in this exercise when you first visit the page you will see failing tests, your job is to write code that will satisfy the tests requirements.

Work Flow

Write code that will make each test pass one at a time. When an entire code block passes, commit your changes to Git.


Example 1:

Failing test, make it pass!

single failing test

Example 2:

It passes, now commit!

passing test, time to commit

Example 3:

All tests for this block passes, commit!

Block of Tests with multiple sub-tests, commit it

Getting Started

  1. Fork this repository and clone it from your personal GitHub Account
  2. In the Terminal, navigate to the newly created folder for this repository
  3. Your work will be done in the file: public/js/class-definitions.js
  4. Install dependencies by running the command: npm install
  5. Install the Gulp Task runner globally: npm install -g gulp
  6. Install LiveReload Chrome plugin
  7. Open your files in your Editor/IDE of choice.
  8. To run the server, run the command: gulp
  9. There are 245 broken tests, fix them!

What is Gulp?!

Gulp is a task runner, it can do many things with the help from Gulp-Packages. If you have not used the Gulp task runner before you will need to run the command:

npm install -g gulp

What is LiveReload?!

LiveReload saves us sometime by detecting when a file changes in our project and automatically refreshes the brower for us! You can get the Install LiveReload Chrome plugin here

Extra Tips

Since we have LiveReload running we don't have to manually refresh our browser anymore. One tip is to have your browser take up one-half of your screen vertically and then have your Text Editor take up the otehr half. As you make changes and save your progress you'll see the browser update itself. Immediate feedback feels gooooood.