Testing in Scala

Scala Tools for Behavior-Driven Development

Nonfiction, Computers, Programming, Programming Languages
Cover of the book Testing in Scala by Daniel Hinojosa, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Daniel Hinojosa ISBN: 9781449360337
Publisher: O'Reilly Media Publication: January 24, 2013
Imprint: O'Reilly Media Language: English
Author: Daniel Hinojosa
ISBN: 9781449360337
Publisher: O'Reilly Media
Publication: January 24, 2013
Imprint: O'Reilly Media
Language: English

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 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
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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.

More books from O'Reilly Media

Cover of the book Devices of the Soul (Hardcover) by Daniel Hinojosa
Cover of the book Building Wireless Sensor Networks by Daniel Hinojosa
Cover of the book Building eCommerce Applications by Daniel Hinojosa
Cover of the book R Packages by Daniel Hinojosa
Cover of the book Learning Java by Daniel Hinojosa
Cover of the book PR im Social Web by Daniel Hinojosa
Cover of the book Malicious Mobile Code by Daniel Hinojosa
Cover of the book Think Stats by Daniel Hinojosa
Cover of the book Python for Finance by Daniel Hinojosa
Cover of the book CSS: The Missing Manual by Daniel Hinojosa
Cover of the book XML and InDesign by Daniel Hinojosa
Cover of the book Spark: The Definitive Guide by Daniel Hinojosa
Cover of the book Moderne Web-Anwendungen mit ASP.NET MVC und JavaScript - ASP.NET MVC im Zusammenspiel mit Web APIs undJavaScript-Framework by Daniel Hinojosa
Cover of the book JavaScript Pocket Reference by Daniel Hinojosa
Cover of the book Mapping Hacks by Daniel Hinojosa
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy