Skip to content

Code I wrote to learn unit testing by learning functional programming first

Notifications You must be signed in to change notification settings

kaidez/functional-programming-unit-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn JavaScript Unit Testing by learning Functional Programming first!

This is code I wrote to get a better handle on unit testing with QUnit. I had an epiphany that learning unit testing required learning functional programming first.

You can read the blog post/tutorial for all this here. The build-complete folder has the final code but you can use the code in the build folder to add code and follow along if you like.

To do this, make sure you have the most-recent version of Node/npm globally installed on your machine. From there:

  1. Clone the repo.
  2. Do an npm install.
  3. Type npm start in the terminal.

Then go to http://localhost:3000: you should a blank page with only a link to the test suite. As you update code from the tutorial in the build folder, you will see changes.

About

Code I wrote to learn unit testing by learning functional programming first

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published