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


  1. 2.

    What is a good test? • easy to write •

    easy to read and understand • easy to evolve with the system • bang for buck • meaningful
  2. 3.

    Which tests are meaningful? • written using abstractions appropriate for

    the component you are testing • using vocabulary defined by the API of the component
  3. 6.
  4. 35.
  5. 39.
  6. 40.
  7. 41.