Rspec Essentials : Develop Testable, Modular, and Maintainable Ruby Software for the Real World Using RSpec

Saved in:
Bibliographic Details
Title: Rspec Essentials : Develop Testable, Modular, and Maintainable Ruby Software for the Real World Using RSpec
Description: Develop testable, modular, and maintainable Ruby software for the real world using RSpecKey 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 discussionBook DescriptionThis 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 purposesof testing[•] Manage test states with hooks, fixtures,and mocks[•] Handle external web services in testsusing various techniques[•] Configure RSpec flexibly and cleanly usingsupport code and environment variables[•] Interact with rich web apps in testsusing Capybara[•] Build the right feature with behavior-drivendevelopment[•] Customize matchers and failure messages[•] Verify correct development and productionenvironmentsWho this book is forThis book is aimed at the software engineer who wants to make their code more reliable and their development process easier. It is also aimed at test engineers who need to automate the testing of complex systems. Knowledge of Ruby is helpful, but even someone new to the language should find it easy to follow the code and tests.
Authors: Mani Tadayon
Resource Type: eBook.
Subjects: Web sites--Design, Ruby (Computer program language), Computer software--Development
Categories: COMPUTERS / Programming / General, COMPUTERS / Languages / General, COMPUTERS / Languages / Ruby
Database: eBook Collection (EBSCOhost)
FullText Links:
  – Type: ebook-pdf
  – Type: ebook-epub
Text:
  Availability: 0
Header DbId: nlebk
DbLabel: eBook Collection (EBSCOhost)
An: 1225883
RelevancyScore: 1070
AccessLevel: 6
PubType: eBook
PubTypeId: ebook
PreciseRelevancyScore: 1070.4580078125
IllustrationInfo
ImageInfo – Size: thumb
  Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$1225883$PDF&s=r
– Size: medium
  Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$1225883$PDF&s=d
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Rspec Essentials : Develop Testable, Modular, and Maintainable Ruby Software for the Real World Using RSpec
– Name: Abstract
  Label: Description
  Group: Ab
  Data: Develop testable, modular, and maintainable Ruby software for the real world using RSpecKey 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 discussionBook DescriptionThis 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 purposesof testing[•] Manage test states with hooks, fixtures,and mocks[•] Handle external web services in testsusing various techniques[•] Configure RSpec flexibly and cleanly usingsupport code and environment variables[•] Interact with rich web apps in testsusing Capybara[•] Build the right feature with behavior-drivendevelopment[•] Customize matchers and failure messages[•] Verify correct development and productionenvironmentsWho this book is forThis book is aimed at the software engineer who wants to make their code more reliable and their development process easier. It is also aimed at test engineers who need to automate the testing of complex systems. Knowledge of Ruby is helpful, but even someone new to the language should find it easy to follow the code and tests.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Mani+Tadayon%22">Mani Tadayon</searchLink>
– Name: TypePub
  Label: Resource Type
  Group: TypPub
  Data: eBook.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Web+sites--Design%22">Web sites--Design</searchLink><br /><searchLink fieldCode="DE" term="%22Ruby+%28Computer+program+language%29%22">Ruby (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software--Development%22">Computer software--Development</searchLink>
– Name: SubjectBISAC
  Label: Categories
  Group: Su
  Data: <searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Programming+%2F+General%22">COMPUTERS / Programming / General</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Languages+%2F+General%22">COMPUTERS / Languages / General</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Languages+%2F+Ruby%22">COMPUTERS / Languages / Ruby</searchLink>
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=nlebk&AN=1225883
RecordInfo BibRecord:
  BibEntity:
    Classifications:
      – Code: 005.117
        Scheme: ddc
        Type: prePub
    Languages:
      – Code: eng
        Text: English
    Subjects:
      – SubjectFull: Web sites--Design
        Type: general
      – SubjectFull: Ruby (Computer program language)
        Type: general
      – SubjectFull: Computer software--Development
        Type: general
    Titles:
      – TitleFull: Rspec Essentials : Develop Testable, Modular, and Maintainable Ruby Software for the Real World Using RSpec
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Mani Tadayon
      – PersonEntity:
          Name:
            NameFull: Mani Tadayon
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 01
              Type: published
              Y: 2016
            – D: 07
              M: 01
              Type: profile
              Y: 2019
          Identifiers:
            – Type: isbn-print
              Value: 9781784395902
            – Type: isbn-electronic
              Value: 9781784392956
          Titles:
            – TitleFull: Rspec Essentials : Develop Testable, Modular, and Maintainable Ruby Software for the Real World Using RSpec
              Type: main
ResultId 1