Chapter 7. Accepting user input
This chapter covers
- Interacting with the build user
- Customizing automation for development
- Autocompleting parser combinators
In the previous chapters, we focused on how to use sbt to automate the development tasks for the preowned-kittens project. Although this is vitally important, sometimes automation can cause friction in development. For example, if the developers create a ton of slow-running unit tests, it can hurt developer productivity. sbt counters this lost productivity through customized automation, like the testOnly task.
As you may recall from chapter 4, the testOnly task takes user input and declares a filter for which unit tests to run. sbt provides a generalized mechanism for users to customize ...
Get sbt in Action 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.