Double-Typed Relations for Partial Data Representation

Written by Arseniy Zhizhelev

In the previous article about constructing types in Scala we’ve reviewed the idea of constructing types that are similar to classes. This allows to separate stored data from meta-information and emphasize representation of entities properties. But the mentioned approach turns out to be quite...

Scala
  •  
  • 4295

Mocking with ScalaMock

Written by Kukuruku Hub

This article may be considered as a continuation of Introduction to Writing Tests with ScalaTest . In this post I would like to talk about ScalaMock. Mocking is a technique by which you can test code without requiring all of its dependencies in place. Java offers several frameworks for...