Test Driven Development in Ruby (eBook)
XXI, 288 Seiten
Apress (Verlag)
978-1-4842-2638-4 (ISBN)
- Carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first
- Use assertions
- Discover the structure of a test and the TDD cycle
- Gain an understanding of minimal implementation, starter test, story test, and next test
- Handle refactoring using Ruby
- Hide implementation details
- Test precisely and concretely
- Make your code robust
Learn the basics of test driven development (TDD) using Ruby. You will carry out problem domain analysis, solution domain analysis, designing test cases, and writing tests first. These fundamental concepts will give you a solid TDD foundation to build upon. Test Driven Development in Ruby is written by a developer for developers.The concepts are first explained, then a coding demo illustrates how to apply the theory in practice. At the end of each chapter an exercise is given to reinforce the material. Complete with working files and code samples, you'll be able to work alongside the author, a trainer, by following the material in this book.What You Will LearnCarry out problem domain analysis, solution domain analysis, designing test cases, and writing tests firstUse assertionsDiscover the structure of a test and the TDD cycleGain an understanding of minimal implementation, starter test, story test, and next testHandle refactoring using RubyHide implementation detailsTest precisely and concretelyMake your code robust Who This Book Is ForExperienced Ruby programmers or web developers with some prior experience with Ruby.
Bala Paranj has a masters degree in electrical engineering from Wichita State University. He has been working in the IT industry since 1996. He started his career as Technical Support Engineer and became a Web Developer using Perl, Java and Ruby. He has consulted for companies in the USA, Australia and Jamaica in finance, telecommunications and other domains.He has professionally worked as a developer using TDD and pair programming for startups. He is the founder of Silicon Valley Ruby Meetup. He has been organizing Ruby, Rails and TDD related events since 2007. He has taught TDD Bootcamps and TDD tutorials for Silicon Valley Ruby Meetup members for more than 3 years. He published an article in JavaWorld in 1999 on the Command Pattern. Java Tip 68: Learn how to implement the Command pattern in Java. He is also the content creator for the Whizlabs OOAD test simulator. This is the exam simulator for students preparing for IBM 486 Object-Oriented Analysis and Design with UML. He is the author of self-published book Rails 4 Quickly.
1. The Basics2. Katas3. Techniques in TDD4. Importance of Test Cases5. Character to Number Conversion6. Conway's Game of Life7. Gilded Rose8. Dealing with Third Party APIs9. Pair Ranking
Erscheint lt. Verlag | 15.3.2017 |
---|---|
Zusatzinfo | XXI, 288 p. 106 illus., 87 illus. in color. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Ruby |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Apress • Development • Open Source • programming • Ruby • TDD • Test driven development • Unit Testing • Web Development |
ISBN-10 | 1-4842-2638-0 / 1484226380 |
ISBN-13 | 978-1-4842-2638-4 / 9781484226384 |
Haben Sie eine Frage zum Produkt? |
Größe: 5,5 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.