Testing in Scala (e-bog) af Hinojosa, Daniel
Hinojosa, Daniel (forfatter)

Testing in Scala e-bog

86,52 DKK (inkl. moms 108,15 DKK)
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 j...
E-bog 86,52 DKK
Forfattere Hinojosa, Daniel (forfatter)
Udgivet 24 januar 2013
Længde 166 sider
Genrer Programming and scripting languages: general
Sprog English
Format epub
Beskyttelse LCP
ISBN 9781449360337
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