unit testing Archive

  • I got this e-mail recently from a blog reader, and decided to share the answer as it might be interesting to others as well: I listened to your podcast with Scott Hanselman and the discussion touched on the mix of unit tests and BDD acceptance tests, but didn’t really go...

    Duplication between BDD and Unit tests

    I got this e-mail recently from a blog reader, and decided to share the answer as it might be interesting to others as well: I listened to your podcast with Scott Hanselman and the discussion touched on the mix of unit tests and BDD acceptance tests, but didn’t really go...

    Continue Reading...

  • Steve Freeman showed a neat unit testing trick at JAX/DevCon London last month, that was not mentioned in his and Nat Pryce’s great book on TDD. His presentation was mostly on getting more out of unit tests by making it easier to read the tests and understand errors. One of...

    Wicked JUnit Date trick

    Steve Freeman showed a neat unit testing trick at JAX/DevCon London last month, that was not mentioned in his and Nat Pryce’s great book on TDD. His presentation was mostly on getting more out of unit tests by making it easier to read the tests and understand errors. One of...

    Continue Reading...

  • Growing Object Oriented Software, Guided by Tests, by Steve Freeman and Nat Pryce is a TDD book, but unlike any other on the market today. First of all, the book deals mostly with advanced unit testing topics, such as designing tests for readability and mocking, and addresses many common stumbling...

    Dark arts of TDD explained

    Growing Object Oriented Software, Guided by Tests, by Steve Freeman and Nat Pryce is a TDD book, but unlike any other on the market today. First of all, the book deals mostly with advanced unit testing topics, such as designing tests for readability and mocking, and addresses many common stumbling...

    Continue Reading...

  • I got this e-mail from a reader today: I don’t know how can I test asynchronous systems. We develop Voice Communication System applications and everything is based on (asynchronous) request-response. I’m trying to write unit tests for such application [...] What is the preferable way to do it? Here I...

    How to test asynchronous systems efficiently

    I got this e-mail from a reader today: I don’t know how can I test asynchronous systems. We develop Voice Communication System applications and everything is based on (asynchronous) request-response. I’m trying to write unit tests for such application [...] What is the preferable way to do it? Here I...

    Continue Reading...

  • Mockito is a fantastic mock library for Java. I’m fascinated by how easy it is to use, compared to other things out there both in the Java and .NET world. Here is everything you need to know to get started in six really easy examples.

    Mockito in six easy examples

    Mockito is a fantastic mock library for Java. I’m fascinated by how easy it is to use, compared to other things out there both in the Java and .NET world. Here is everything you need to know to get started in six really easy examples.

    Continue Reading...