/tdd-fibonacci

TDD implementation of JavaScript Fibonacci series function

Primary LanguageJavaScriptMIT LicenseMIT

tdd-fibonacci

TDD JavaScript implementation of Fibonacci series function.

What is this project about?

This project demonstrates a Test-Driven Development (TDD) approach to writing a JavaScript function to calculate a given element of the Fibonacci sequence.

How do I use it?

Firstly, fork this repo. Clone it to your local machine, and then run npm install.

And secondly, step through the slides at mcalthrop.github.io/tdd-fibonacci, modifying your cloned repo as you go.

What tools are used?

The following tools are used:

  • jest for the test runner
  • Chrome for the browser to run the tests in

License

MIT