Testing in Scala: Scala Tools for Behavior-Driven Development (1)
By:
Sign Up Now!
Already a Member? Log In
You must be logged into Bookshare to access this title.
Learn about membership options,
or view our freely available titles.
- Synopsis
- 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 the 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 with 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 DevelopmentStart a simple project with SBT and create tests before you write codeDive into SBT’s basic commands, interactive mode, packaging, and historyUse ScalaTest both in the command line and with SBT, and learn how to incorporate JUnit and TestNGWork with the Specs2 framework, including Specification styles, matchers DSLs, and Data TablesUnderstand mocking by using Java frameworks EasyMock and Mockito, and the Scala-only framework ScalaMockAutomate testing by using ScalaCheck to generate fake data
- Copyright:
- 2013
Book Details
- Book Quality:
- Publisher Quality
- Book Size:
- 166 Pages
- ISBN-13:
- 9781449360337
- Related ISBNs:
- 9781449360320, 9781449360344, 9781449315115
- Publisher:
- O'Reilly Media
- Date of Addition:
- 02/05/25
- Copyrighted By:
- Daniel Hinojosa
- Adult content:
- No
- Language:
- English
- Has Image Descriptions:
- No
- Categories:
- Nonfiction, Computers and Internet
- Submitted By:
- Bookshare Staff
- Usage Restrictions:
- This is a copyrighted book.