Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How Scala made my tests more meaningful

How Scala made my tests more meaningful

I have always been interested in improving the way I write and test my systems. Some techniques have been hard to use in languages such as Java. Fortunately Scala with it's power of expression made it much easier. I want to share a few techniques I use on the daily basis.

Piotr Gabryanczyk

May 24, 2013
Tweet

More Decks by Piotr Gabryanczyk

Other Decks in Technology

Transcript

  1. What is a good test? • easy to write •

    easy to read and understand • easy to evolve with the system • bang for buck • meaningful
  2. Which tests are meaningful? • written using abstractions appropriate for

    the component you are testing • using vocabulary defined by the API of the component