Articoli correlati a Rspec Essentials

Tadayon, Mani Rspec Essentials ISBN 13: 9781784395902

Rspec Essentials - Brossura

 
9781784395902: Rspec Essentials

Sinossi

Key Features

  • Explore the concept of testability and how to implement tests that deliver the most value
  • Maximize the quality of your Ruby code through a wide variety of tests
  • Master the real-world tradeoffs of testing through detailed examples supported by in-depth discussion

Book Description

This book will teach you how to use RSpec to write high-value tests for real-world code. We start with the key concepts of the unit and testability, followed by hands-on exploration of key features. From the beginning, we learn how to integrate tests into the overall development process to help create high-quality code, avoiding the dangers of testing for its own sake.

We build up sample applications and their corresponding tests step by step, from simple beginnings to more sophisticated versions that include databases and external web services. We devote three chapters to web applications with rich JavaScript user interfaces, building one from the ground up using behavior-driven development (BDD) and test-driven development (TDD).

The code examples are detailed enough to be realistic while simple enough to be easily understood. Testing concepts, development methodologies, and engineering tradeoffs are discussed in detail as they arise. This approach is designed to foster the reader's ability to make well-informed decisions on their own.

What you will learn

  • Identify a unit of software for the purposes of testing
  • Manage test states with hooks, fixtures, and mocks
  • Handle external web services in tests using various techniques
  • Configure RSpec flexibly and cleanly using support code and environment variables
  • Interact with rich web apps in tests using Capybara
  • Build the right feature with behavior-driven development
  • Customize matchers and failure messages
  • Verify correct development and production environments

About the Author

Mani Tadayon first learned to program as a shy 7th grader on an Apple IIe using BASIC. He went on to learn Pascal, C++, Java, JavaScript, Visual Basic, and PHP before becoming a Ruby developer in 2008. With 15 years of experience in the software industry, he has developed expertise in web development, infrastructure, and testing. Mani's interests and education are broad, with degrees in foreign languages, computer science, and geography. He lives just far enough from Silicon Valley with his family and their many, many Shiba Inus.

Table of Contents

  1. Exploring Testability from Unit Tests to Behavior-Driven Development
  2. Specifying Behavior with Examples and Matchers
  3. Taking Control of State with Doubles and Hooks
  4. Setting Up and Cleaning Up
  5. Simulating External Services
  6. Driving a Web Browser with Capybara
  7. Building an App from the Outside In with Behavior-Driven Development
  8. Tackling the Challenges of End-to-end Testing
  9. Configurability
  10. Odds and Ends

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

  • EditorePackt Publishing
  • Data di pubblicazione2016
  • ISBN 10 1784395900
  • ISBN 13 9781784395902
  • RilegaturaCopertina flessibile
  • LinguaInglese
  • Numero di pagine222
  • Contatto del produttorenon disponibile

Compra usato

Condizioni: come nuovo
Like New
Visualizza questo articolo

EUR 29,89 per la spedizione da Regno Unito a Italia

Destinazione, tempi e costi

EUR 1,26 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

Risultati della ricerca per Rspec Essentials

Foto dell'editore

Mani Tadayon
Editore: Packt Publishing Limited, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo PAP
Print on Demand

Da: PBShop.store US, Wood Dale, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781784395902

Contatta il venditore

Compra nuovo

EUR 49,13
Convertire valuta
Spese di spedizione: EUR 1,26
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Mani Tadayon
Editore: Packt Publishing Limited, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo PAP
Print on Demand

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781784395902

Contatta il venditore

Compra nuovo

EUR 45,36
Convertire valuta
Spese di spedizione: EUR 6,29
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Tadayon, Mani
Editore: Packt Publishing, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo Brossura

Da: California Books, Miami, FL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo I-9781784395902

Contatta il venditore

Compra nuovo

EUR 44,02
Convertire valuta
Spese di spedizione: EUR 8,01
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Tadayon, Mani
Editore: Packt Publishing, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo Brossura

Da: moluna, Greven, Germania

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo 448318498

Contatta il venditore

Compra nuovo

EUR 48,76
Convertire valuta
Spese di spedizione: EUR 9,70
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Mani Tadayon
Editore: Packt Publishing Limited, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo Paperback / softback
Print on Demand

Da: THE SAINT BOOKSTORE, Southport, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback / softback. Condizione: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 526. Codice articolo C9781784395902

Contatta il venditore

Compra nuovo

EUR 49,28
Convertire valuta
Spese di spedizione: EUR 10,40
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Tadayon, Mani
Editore: Packt Publishing 2016-04, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo PF

Da: Chiron Media, Wallingford, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PF. Condizione: New. Codice articolo 6666-IUK-9781784395902

Contatta il venditore

Compra nuovo

EUR 39,45
Convertire valuta
Spese di spedizione: EUR 23,90
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Mani Tadayon
Editore: Packt Publishing, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo Taschenbuch
Print on Demand

Da: AHA-BUCH GmbH, Einbeck, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Taschenbuch. Condizione: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering. Codice articolo 9781784395902

Contatta il venditore

Compra nuovo

EUR 62,74
Convertire valuta
Spese di spedizione: EUR 14,99
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Tadayon, Mani
Editore: Packt Publishing, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Nuovo Brossura

Da: Lucky's Textbooks, Dallas, TX, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo ABLIING23Mar2912160166249

Contatta il venditore

Compra nuovo

EUR 39,53
Convertire valuta
Spese di spedizione: EUR 66,78
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Tadayon, Mani
Editore: Packt Publishing, 2016
ISBN 10: 1784395900 ISBN 13: 9781784395902
Antico o usato Paperback

Da: Mispah books, Redhill, SURRE, Regno Unito

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Like New. Like New. book. Codice articolo ERICA75817843959005

Contatta il venditore

Compra usato

EUR 82,52
Convertire valuta
Spese di spedizione: EUR 29,89
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello