Testing in Scala: Scala Tools for Behavior-Driven Development
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader: astrogator
Uploaded At: 2026-04-18 23:56:55
Scala, Web Development, Functional Programming, Computer Science, 2013, 1st Edition, O'Reilly Media, True PDF
Description
This is the retail PDF. The EPUB version of the book is available here: https://www.myanonamouse.net/t/479123
If you build your Scala application through test-driven development, you'll quickly see the advantages of testing before you write production code. This hands-on book shows you how to create tests with ScalaTest and Specs2—two of the best testing frameworks available—and how to run your tests in the Simple Build Tool (SBT) designed specifically for Scala projects.
By building a sample digital jukebox application, you'll discover how to isolate your tests from large subsystems and networks using mocking code, and how to use the ScalaCheck library for automated specification-based testing. If you're familiar with Scala, Ruby, or Python, this book is for you.
- Get an overview of test-driven development
- Start a simple project with SBT and create tests before you write code
- Dive into SBT's basic commands, interactive mode, packaging, and history
- Use ScalaTest both in the command line and with SBT, and learn how to incorporate JUnit and TestNG
- Work with the Specs2 framework, including specification styles, matchers DSLs, and data tables
- Understand mocking by using Java frameworks EasyMock and Mockito, and the Scala-only framework ScalaMock
- Automate testing by using ScalaCheck to generate fake data
Publisher: O'Reilly Media
Pages (PDF): 165
ISBN: 978-1-449-31511-5
Other Torrents
by Daniel Hinojosa
Scala, Web Development, Functional Programming, Computer Science
epub | 0 comments
Computer/Internet
1.3 MiB
0
72