Testing in Scala

Scala Tools for Behavior-Driven Development

Cover of Testing in Scala

PDF · English

Price and availability

PDF eBookUS store

$13.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
O'Reilly Media
Published
24 January 2013
ISBN
9781449360344
Subjects
Computer programming / software development, Programming & scripting languages: general, Computer programming / software engineering, Programming and scripting languages: general

About this book

If you build your Scala application through Test-Driven Development, youll 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 Specs2two of the best testing frameworks availableand how to run your tests in the Simple Build Tool (SBT) designed specifically for Scala projects.By building a sample digital jukebox application, youll 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 youre 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 SBTs 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

Bibliographic data © Gardners Books Ltd.