reine Buchbestellungen ab 5 Euro senden wir Ihnen Portofrei zuDiesen Artikel senden wir Ihnen ohne weiteren Aufpreis als PAKET

Test-Driven Development with React
(Englisch)
Apply Test-Driven Development in Your Applications
Juntao Qiu

44,95 €

inkl. MwSt. · Portofrei
Lieferzeit ca. 16 Werktage
Menge:

Produktbeschreibung

Teaches practical skills needed to incorporate test-driven development into your daily work using React and a modern front-end tech stack

Learn to refactor effectively in order to make your applications´ code more concise and easier to maintain

Structured in an easy-to-follow style including real-world cases for many different scenarios that you can apply right away to your next project


Juntao Qiu is a senior web application developer at ThoughtWorks. Over the past ten years, he has helped his clients to build solid, extensible and high-quality web applications on a range of projects including traditional web applications using jQuery and JSP (Java Server Pages) to single page applications (SPAs) using Backbone, AngularJS, and React. Juntao knows how to handle the complexity of real-world projects by applying appropriate methodologies including writing clean code and effective automation tests. He also is a technical author who has already published two books in the Chinese language: Javaillegalscript Core Concepts and Practices (2013) and Lightweight Web Application Development (2015). He is passionate about writing blogs and speaking at events. He has a real passion for clean code, refactoring, and Test-Driven Development. Additionally, he does Muay Thai and Boxing in his spare time.

Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.

With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and Javaillegalscript work in the browser you'll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux. 

Using higher code quality you'll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.

What You'll Learn

  • Manage your application´s state using Redux
  • Employ professional techniques for backend services
  • Use Cypress as an end-to-end testing framework
  • Utilize React-testing-library for unit and integration tests

Who This Book Is For

Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development. 


  1. A Very Brief History of Test-Driven Development
    1. Test-Driven Development (TDD)
    2. Techniques that can help implement TDD
    3. Summary
    4. Further reading
    5. References
  2. Getting Started with Jest
    1. Set up the environment
    2. Jest at first glance
    3. Using matchers in Jest
    4. Mock & Stub
    5. Summary
  3. Test-Driven Development 101
    1. Writing tests
    2. Triangulation method
    3. How to implement tasking with TDD
    4. Summary
  4. Project Setup
    1. Application Requirements
    2. Create the project
    3. Summary
  5. Creating the Book List
  6. Acceptance tests for book list
  7. Talk to the book server
  8. Adding a loading indicator
  • Implementing Book Detail View
    1. Acceptance tests
    2. Unit tests
    3. Testing data
    4. User Interface refinement
    5. Handling default value
    6. One last? change
  • Searching by Keyword
  • Acceptance test
  • Moving forward
  • Summary
  • State Management
    1. State management
    2. Implementing State Management
    3. Reducer
    4. Integration test for redux store
    5. Migration the application
    6. Summary
    7. Further readings
    8. References
  • Managing Book Reviews
    1. Business requirements
    2. End to end test
    3. Add more fields
    4. Review Editing
  • Behaviour-Driven Development
    1. Play with Cucumber
    2. Live Document with Cucumber
    3. Test Report
    4. Summary

    Appendix: Design the State Shape of Your Application

    1. Error handling
    2. The data shape

    Appendix: Background of Testing Strategies

      1. Different layers of tests

     


    Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.

    With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and Javaillegalscript work in the browser you'll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux. 

    Using higher code quality you'll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.

    You will:

    • Manage your application´s state using Redux
    • Employ professional techniques for backend services
    • Use Cypress as an end-to-end testing framework
    • Utilize React-testing-library for unit and integration tests

    Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.

    With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and Javaillegalscript work in the browser you'll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux. 

    Using higher code quality you'll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.

    What You'll Learn

    • Manage your application's state using Redux
    • Employ professional techniques for backend services
    • Use Cypress as an end-to-end testing framework
    • Utilize React-testing-library for unit and integration tests

    Who This Book Is For

    Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development. 


    1. A Very Brief History of Test-Driven Development
      1. Test-Driven Development (TDD)
      2. Techniques that can help implement TDD
      3. Summary
      4. Further reading
      5. References
    2. Getting Started with Jest
      1. Set up the environment
      2. Jest at first glance
      3. Using matchers in Jest
      4. Mock & Stub
      5. Summary
    3. Test-Driven Development 101
      1. Writing tests
      2. Triangulation method
      3. How to implement tasking with TDD
      4. Summary
    4. Project Setup
      1. Application Requirements
      2. Create the project
      3. Summary
    5. Creating the Book List
    6. Acceptance tests for book list
    7. Talk to the book server
    8. Adding a loading indicator
  • Implementing Book Detail View
    1. Acceptance tests
    2. Unit tests
    3. Testing data
    4. User Interface refinement
    5. Handling default value
    6. One last? change
  • Searching by Keyword
  • Acceptance test
  • Moving forward
  • Summary
  • State Management
    1. State management
    2. Implementing State Management
    3. Reducer
    4. Integration test for redux store
    5. Migration the application
    6. Summary
    7. Further readings
    8. References
  • Managing Book Reviews
    1. Business requirements
    2. End to end test
    3. Add more fields
    4. Review Editing
  • Behaviour-Driven Development
    1. Play with Cucumber
    2. Live Document with Cucumber
    3. Test Report
    4. Summary

    Appendix: Design the State Shape of Your Application

    1. Error handling
    2. The data shape

    Appendix: Background of Testing Strategies

      1. Different layers of tests

     


    Juntao Qiu is a senior web application developer at ThoughtWorks. Over the past ten years, he has helped his clients to build solid, extensible and high-quality web applications on a range of projects including traditional web applications using jQuery and JSP (Java Server Pages) to single page applications (SPAs) using Backbone, AngularJS, and React. Juntao knows how to handle the complexity of real-world projects by applying appropriate methodologies including writing clean code and effective automation tests. He also is a technical author who has already published two books in the Chinese language: Javaillegalscript Core Concepts and Practices (2013) and Lightweight Web Application Development (2015). He is passionate about writing blogs and speaking at events. He has a real passion for clean code, refactoring, and Test-Driven Development. Additionally, he does Muay Thai and Boxing in his spare time.

    Über den Autor



    Juntao Qiu is a senior web application developer at ThoughtWorks. Over the past ten years, he has helped his clients to build solid, extensible and high-quality web applications on a range of projects including traditional web applications using jQuery and JSP (Java Server Pages) to single page applications (SPAs) using Backbone, AngularJS, and React. Juntao knows how to handle the complexity of real-world projects by applying appropriate methodologies including writing clean code and effective automation tests. He also is a technical author who has already published two books in the Chinese language: Javaillegalscript Core Concepts and Practices (2013) and Lightweight Web Application Development (2015). He is passionate about writing blogs and speaking at events. He has a real passion for clean code, refactoring, and Test-Driven Development. Additionally, he does Muay Thai and Boxing in his spare time.


    Inhaltsverzeichnis



    A Very Brief History of Test-Driven Development Test-Driven Development (TDD) Techniques that can help implement TDD Summary Further reading References Getting Started with Jest Set up the environment Jest at first glance Using matchers in Jest Mock & Stub Summary Test-Driven Development 101 Writing tests Triangulation method How to implement tasking with TDD Summary Project Setup Application Requirements Create the project Summary Creating the Book List Acceptance tests for book list Talk to the book server Adding a loading indicator Implementing Book Detail View Acceptance tests Unit tests Testing data User Interface refinement Handling default value One last? change Searching by Keyword Acceptance test Moving forward Summary State Management State management Implementing State Management Reducer Integration test for redux store Migration the application Summary Further readings References Managing Book Reviews Business requirements End to end test Add more fields Review Editing Behaviour-Driven Development Play with Cucumber Live Document with Cucumber Test Report Summary Appendix: Design the State Shape of Your Application Error handling The data shape Appendix: Background of Testing Strategies Different layers of tests  


    Klappentext

    Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.


    With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and Javaillegalscript work in the browser you'll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux.
    Using higher code quality you'll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.


    What You'll Learn

    Manage your application's state using Redux

    Employ professional techniques for backend services
    Use Cypress as an end-to-end testing framework
    Utilize React-testing-library for unit and integration tests


    Who This Book Is For


    Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development.




    Teaches practical skills needed to incorporate test-driven development into your daily work using React and a modern front-end tech stack

    Learn to refactor effectively in order to make your applications' code more concise and easier to maintain

    Structured in an easy-to-follow style including real-world cases for many different scenarios that you can apply right away to your next project



    Datenschutz-Einstellungen