TAILIEUCHUNG - Testing in Scala

Setup in Mac OS X, Mac OS X Lion, and Linux Setup in Windows Using SBT SBT Folder Organization The Build File About Our Examples Creating Our Examples Using TDD, ScalaTest, and SBT Directories in SBT The Importance of Good Infrastructure Triggered Executions What If I Need an Extra Repository? Format of Dependencies Line Updating Changes from the Build File Bringing Some Sources and Documentation | Scala Tools for Behavior-Driven Development O REILLY Daniel Hinojosa Testing in Scala 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 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 using mocking code and how to use the ScalaCheck library for automated specificationbased 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 Purchase the ebook edition of this O Reilly title at and get free updates for the life of the edition. Our ebooks are optimized for several electronic formats including PDF EPUB Mobi and DAISY all DRM-free. 9 US CAN ISBN 978-1-449-31511-5 315115 7 8 1 4 4 9 Twitter @oreillymedia oreilly O REILLY8 Testing in Scala Daniel Hinojosa O REILLY Beijing Cambridge Farnham Kôln Sebastopol Tokyo .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.