To execute console commands, we will be using the built-in functionalities of Scala. We will also use some extra dependencies that we have used in the other projects as well—a logging library (slf4j) and test dependencies—ScalaTest and Mockito.
Executing console commands
Get Scala Design Patterns - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.