eBooks-it.org Logo
eBooks-IT.org Inner Image

Testing in Scala

Testing in Scala Image

Book Details:

Publisher:O'Reilly Media
Series: OReilly
Author:Daniel Hinojosa
Edition:1
ISBN-10:1449315119
ISBN-13:9781449315115
Pages:166
Published:Dec 25 2012
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:6.42 MB

Book Description:

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 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, 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

Book categories:

Programming , Languages & Tools

Download Link:

Related Books:

Steps in Scala

An Introduction to Object-Functional Programming
Steps in Scala Image
Scala is a highly expressive, concise and scalable language. It is also the most prominent method of the new and exciting methodology known as object-functional programming. In this book, the authors show how Scala grows to the needs of the programmer, whether professional or hobbyist. They teach Scala with a step-by-step approach and explain how to exploit the full power of the industry-proven JVM technology. Readers can then dive into specially chosen design challenges and implementation problems, inspired by the trials of real-world software engineering. It also helps readers to embrace the power of static typing and automatic type inference. In addition, the book shows how to use the dual-object and functional-oriented natures combined at Scala's...

Functional Programming in Scala

Functional Programming in Scala Image
SummaryFunctional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyFunctional programming (FP) is a style of software development emphasizing functions that don't depend on program state. Functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs than other code. Scala is an emerging JVM language that offers...

Unit Testing in Java

How Tests Drive the Code
Unit Testing in Java Image
Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues ...



2007 - 2021 © eBooks-IT.org