Unit Testing

July 15, 2014 10:58am

Inverting The Testing Pyramid [SlideShare] > http://blogs.agilefaqs.com/2011/02/01/inverting-the-testing-pyramid/ [Article]

How To Test Your Tests

TDD Tests are not Unit Tests

How to Write Good Unit Tests

The Single Responsibility Principle:

Goto Fail, Heartbleed, and Unit Testing Culture

Are unit tests waste?

See, always told you: testing is just a waste of time

TDD != Unit Tests (and Vice Versa)

Ian Cooper: TDD, where did it all go wrong:

Is TDD Dead? [article]

Hanselminutes Podcast 146 - Test Driven Development is Design - The Last Word on TDD


Javascript only:

QUnit: A JavaScript Unit Testing framework

blanket.js - Seamless javascript code coverage

JSCover - JavaScript code coverage

Cobertura Plugin

Jasmine, A JavaScript Testing Framework

istanbul: A Javascript code coverage tool written in JS

PhantomJS, Headless Website Testing

CasperJS

Testing in Node.js

jstest

Plato
Complexity explanation: https://github.com/philbooth/complexity-report/issues/30

Control the Complexity of Your JavaScript Functions with JSHint


July 15, 2014 1:47pm

Writing Unit Tests for Existing JavaScript - Rebecca Murphey (jQuery, …)

On adding unit tests to existing code

On whether it’s worth the effort

Working Effectively with Legacy Code


November 10, 2014 4:17pm

Unit Tests & Integration tests: Writing Great Unit Tests: Best and Worst Practices


November 17, 2014 6:14pm


First 20 minutes are really interesting. He talks about:

  • code legacy
  • unit vs integration