Software Testing and Software Quality Assurance Videos and Tutorials: Unit Testing, Functional Testing, Load Testing, Performance Testing, Test Driven Development
 

Are your Mocks Mocking at You?

Ever since J.B. Rainsberger’s ‘integrated tests are a scam’, many developers try to get rid of their massively integrated tests and test their units in isolation. Co-operation of units is tested with mocks and stubs. But – depending on the language used – this mocking can be more or less trustworthy. I present a prototypical library for solving this problem in JavaScript: chadojs. Chadojs is a mocking library for nodejs which reduces the need for integration tests. Instead of integration tests it supports writing verification tests.

Video producer: http://itakeunconf.com/
Slides of the presentation: http://itakeunconf.com/wp-content/uploads/2016/05/Who-is-testing-the-mocks.pdf