Unit Testing Archive

Automated Testing with Drupal & PHPSpec

Like many Drupal teams, the CSRA/New Target web team at the Administrative Office of the US Courts is working to bring automated testing into our development and maintenance workflow. In this talk, I’ll share our current thinking

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 –

Mocking C++with Trompeloeil

Trompeloeil is an open source mocking framework for C++, aimed at ease of use without sacrificing expressive power. In arts, trompeloeil is intended to mock your mind, making you believe you see something that isn’t what it

How to Test Time In Java

We all know we should have unit tests for most of our Java code. But how do you test your functionalities that are depending on time?

How to test static_assert?

This talk will demonstrate several options for testing static_assert, ranging from the build system, over the compiler features to template meta programming. It will include real-life examples from sqlpp11.